Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 787 Bytes

File metadata and controls

33 lines (21 loc) · 787 Bytes

Panoramai

This is the code for the panoramai web app (archived, details here).

panoramai

Frontend

To run the development server:

npm install
npm run dev

You'll need to fill in NEXT_PUBLIC_GOOGLE_API_KEYand NEXT_PUBLIC_BACKEND_URL in frontend/.env.local.

Backend

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