Running the project
Running the commands 🏁
To run the server, follow next steps:
Step 1: Create the Postgres database for this project createdb <your_database_name>
Step 2: Create the .env file
cp .env.example .env
The config file .env.production is used for public configuration variables. Private configuration variables are stored inside Jenkins credentials.
Step 3: Fill the missing .env values
Ensure that you've filled all the needed values in the .env
Step 4: Build the project

yarn build
Step 5: Run migrations
yarn db:migration
Step 6: Run seeding
yarn db:seed
Step 5: Run the app
After everything has been completed, to run the app, use the yarn dev command for dev environment or 
yarn start for production build
Step 6: Enjoy! ٩(^‿^)۶
Last updated