For usage with terralux-backend, powered by SunriseSunset.io
Using Node.js
# fetch the source
git clone https://github.com/solid-stack-solutions/terralux-frontend
cd terralux-frontend
# install dependencies and run
npm i
npm run devUsing Docker
# fetch source
git clone https://github.com/solid-stack-solutions/terralux-frontend
cd terralux-frontend
# build image
docker build -t terralux-frontend:latest .
# run image
docker run -p 4173:4173 terralux-frontend:latestUsing Nix Flakes
# option 1: fully automatic
nix run github:solid-stack-solutions/terralux-frontend
# option 2: fetch source, build and run
git clone https://github.com/solid-stack-solutions/terralux-frontend
cd terralux-frontend
nix run# building
npm run build
# run with env vars (on linux)
NODE_ENV=production PORT=4173 node build
# (on windowss)
set NODE_ENV=production && set PORT=4173 && node build