-
Notifications
You must be signed in to change notification settings - Fork 1
Deployment of server & website
Liam Boddin edited this page Aug 16, 2023
·
19 revisions
This describes a local, lightweight deployment to work with.
cd Railtrail/Server
docker-compose -f docker-compose-dev.yml build
docker-compose -f docker-compose-dev.yml up
Rename .env.example
to .env
cd Railtrail/Server
npx prisma generate
npx prisma db push
npm run generate-guards # Currently not used
npm run start
Rename .env.development
to .env
cd Railtrail/Website
npm i
npm run build
npm run start
export BACKEND_URI=http://localhost:8080/api/oyster/lorawan
cd Railtrail/vehicle-simulator
python src/main.py