This project is organized as a npm workspace. This is a monorepo for two projects.
./server
./webnpm installnpm run servernpm run webnpm run build
Then
cd dist
sh ./run.shTo start local tunnel, in your root directory:
# To start the localtunnel
npx lt --port 8080 --local-host "127.0.0.1" --print-requests
OR
npx lt --subdomain <subdomain> --port <local-port> --local-host "127.0.0.1" --print-requestsCopy the URL into the browser to access the app (The first time you'll be promped to enter your pubilc IP) Follow the instructions on the page to get it.
To build a docker image use the following command:
docker build -t webapp-starter .To run use the following:
docker run -d -p 8080:8080 [-e ENV_VAR=value]* webapp-starter:lateste.g.
docker run -d -p 8080:8080
-e LOG_LEVEL=info
webapp-starter:latestFollowing env values can be set:
LOG_LEVEL=info
API_LOG_LEVEL=debug
DEBUG=true