🎭 This is the Backend of E.M.M.A.
https://1drv.ms/p/s!AsoWFbkwGvx8gmm4qG4fvHIzfQJw?e=h9mX27
- Open up your favourite terminal (and navigate somewhere you want to download the repository to).
- Make sure you have NodeJS installed. Test by entering
$node -v
If this returns a version number, NodeJS is installed. If not, get NodeJS here. - Clone the repository and navigate to it. If you have Git installed, type
$git clone https://github.com/EMMA-Emotion-AI/EMMA-Backend.git && cd EMMA-Backend
If not, download it here and extract the ZIP file.
Then navigate to the folder. - Install all dependencies by typing
$npm install
- Copy
config.template.js
and paste it asconfig.js
- Configure it in your favourite editor by editing
config.json
- Install required global packages for development and deployment:
$npm i -g eslint
$npm i -g pm2
- Start it by running
$npm start
or lint and start it by using
$npm run dev
or deploy it using pm2 by using
$npm run deploy
Copyright (c) EMMA