Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.04 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.04 KB

CocktailCalc

A web app to calculate cocktails for specific events

Configuration

The configuration is done via a .env file. Please copy the file .env.example and rename it to .env. More information about the individual confirmation values can be found in env.validation.ts file.

Note that values marked with (client dev only) are only read in development mode. In production mode, the values must be given as node environment variables via the command line (e.g. PORT=3001 npm run start:client). (client dev only) values are only necessary for the client.

Development

Follow this steps assuming you have installed Node.js and npm:

  1. Clone the repository
  2. Configure the .env file as described above
  3. Run npm install in the root directory
  4. Run npm run build to build everything (You can also run npm run build:client, npm run build:server or npm run build:db to build individual parts)
  5. Run npm run start:server to start the server
  6. Run npm run start:client to start the client