SmartSvelte is a web template app build upon:
Once you've created installed dependencies with npm install (or pnpm install or yarn), start a development server:
bun run dev
# or start the server and open the app in a new browser tab
bun run dev -- --open
To create a production version of SmartSvelte:
bun run build
You can preview the production build with npm run preview.
To run unit tests:
bun run test:unit
First of all install dotenv
npm install dotenv
Then build with
node -r dotenv/config build
We are using 'Node.js Adapter' to deploy SmartSvelte app as a Node.js application.
docker build -t smartsvelte-docker .
docker run -p 8080:8080 smartsvelte-docker
You may navigate the site with
http://0.0.0.0:8080/