This is the code for the panoramai.xyz web app.
To run the development server:
npm install
npm run dev
You'll need to fill in NEXT_PUBLIC_GOOGLE_API_KEY
and NEXT_PUBLIC_BACKEND_URL
in frontend/.env.local
.
To build the worker and server images:
sudo docker build -t WORKER_IMAGE_NAME:TAG -f docker/Dockerfile.worker .
sudo docker build -t SERVER_IMAGE_NAME:TAG -f docker/Dockerfile.server .
To run the backend, fill in APP_WORKER_IMAGE
, APP_SERVER_IMAGE
, GOOGLE_KEY
and DOMAIN_NAME
in docker/.env
.
Then, run in the docker
folder:
sudo docker compose up