Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.63 KB

README.md

File metadata and controls

31 lines (19 loc) · 1.63 KB

Itemize Website

This is the website for itemize.no. The website uses Svelte and the Sapper frameworks. The website has a Dockerfile that the website runs from. For more information about Svelte, Sapper and the template this project builds upon, see the README and documentation for the Sapper Template project.

Local Development

To run local development you need node installed. Initially you need to install the node modules required. So run this from within your project folder after cloning the repository:

npm install

Then to start a local development server simply run:

npm run dev

This will start a local development server on localhost:3000. The development server supports auto reloadning, meaning the website should update in real time as you save files when working.

For local development it is recommended to use VS Code with the Svelte for VS Code. The Svelte Type Checker, Svelte Intellisense and Svelte 3 Snippets might also be usefull.

Publish

To start the final production ready server:

docker-compose up --build -d

This will start the webserver on port localhost:3000.