Template for developing, deploying and locally-testing Svelte-powered frontends.
Run the following script to configure git hooks:
source ./initial_script.sh
Run the project:
- docker-compose up
- docker build -t svelte_template_image -f Dockerfile.dev .
- docker run --name svelte_template -it -p 3000:3000 -v "$(pwd)/src:/usr/src/app/src" svelte_template_image
docker run --name svelte_template -it -p 80:80 -v "$(pwd)/src:/usr/src/app/src" --rm $(docker build -q -f Dockerfile.build .)