- Create
.envfile from.env_exmaple - Run
docker-compose up(requiresdockeranddocker-compose) - Project will be available on
localhost:3000 /assets/app/home-page.jshas few lines commented. Comment them out to reproduce the error: sveltejs/svelte-loader#88
It is a Docker image that runs two servers:
- Backend NodeJS with KOA + Handlebars app backed by Redis. Located at
/. - Frontend NodeJS with Webpack to package SASS and JS. Located at
/assets/.
docker-compose up will start both servers as well as a Redis server.
We are using Docker for both testing and production. docker-compose up will start the test server on localhost:3000.
NODE_ENV environment variable need to be set. You can set it manually or create a .env file for Docker to read. Look at .env_example for more information.