Skip to content

lgabardos/AgriChronoBackend

Repository files navigation

Agri Chrono

Recommended IDE Setup

VSCode

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Docker build

On a AMD64 machine, you can simply run

docker build . -t agrichrono-back

If you're using an ARM machine, may be best to run

docker buildx build --platform linux/amd64 . -t agrichrono-back

Depending on your machine where you will deploy this container

Docker run

docker run -d -p 8500:8500 -e ADMIN_SECRET=1234 -e API_URL="https://api.example.com" \
 -v ./settings.json:/app/settings.json \
 -v /path/tp/fullchain.pem:/certs/server.pem \
 -v /path/to/key.pem:/certs/server.key \
 --name agrichrono-back  agrichrono-back:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published