The evolution of the original pesto from WEEEOpen, now with added js.
Development mode runs the backend with nodemon, so that as soon as you save it relaunches, and also starts up the vite development server and proxies trough the API.
- Clone the repo
- Run
npm i
- Copy the
config.example.js
asconfig.js
and config if needed (if you edit the server port make sure to also change it in thefrontend/vite.config.js
file) - In the root folder run
npm run dev
- Open the site on
localhost:5173
- Clone the repo
- Create a
.env
file and enterDEVELOPMENT=true
- Run
docker-compose up
Production mode will automatically compile the frontend, and start up the backend server while statically hosting the frontend built files.
- Clone the repo
- Run
npm i
- Copy the
config.example.js
asconfig.js
and config if needed (if you edit the server port make sure to also change it in thefrontend/vite.config.js
file) - In the root folder run
npm run prod
- Open the site on
localhost:3000
- Clone the repo
- Run
docker-compose up
For more options look into the package.json
file