Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 971 Bytes

README.md

File metadata and controls

67 lines (43 loc) · 971 Bytes

Chattie

NOTE: Unless stated otherwise, every command is to be executed from the root of the project.

Development

This project is using a feature of Yarn called Yarn Workspaces, so using Yarn is required.

Install Dependencies

yarn [install]

Backend

In the backend directory, run:

cd backend
yarn start

Frontend

In the frontend directory, run:

cd frontend
yarn start

Build

yarn build

This script will run the build scripts of backend and frontend and copy the results to a build directory at the root of the project.

Usage

yarn start

PM2

To use PM2 you need to have it globally installed:

yarn global add pm2

or:

npm i -g pm2

After you've got it installed, run:

yarn start:pm2

The configuration for PM2 is found in pm2.json.