On this page
Installation
- Clone the repository
- Change directory to project folder
- add .env file into server folder
- install mongodb (https://www.mongodb.com/) (tested with mongodb community server 8.0)
- install modules from npm
git clone https://github.com/CentriaUniversityOfAppliedSciences/DigiBioGasHubs-Chat-Server.git
cd DigiBioGasHubs-Chat-Server
nano server/.env
npm iENV File
CONNECTION_STRING="mongodb://address_to_mongodb:mongodb_port/databasename"
PORT=chat_server_port_number
SERVER_ADDRESS=https://serveraddress:port
EMAIL_SENDER=username_for_email_smtp
EMAIL_PASS=password_for_email_smtp