.env
file from .env_exmaple
docker-compose up
(requires docker
and docker-compose
)localhost:3000
/assets/app/home-page.js
has few lines commented. Comment them out to reproduce the error: https://github.com/sveltejs/svelte-loader/issues/88It is a Docker image that runs two servers:
/
./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.