-
Notifications
You must be signed in to change notification settings - Fork 5
Generic Node Deployment
These instructions assume that you already have nodejs and mongoDB installed in your environment.
-
Clone this repo into the the location of your choice.
git clone https://github.com/bdm1981/roomRequest-Spark-Bot.git
-
Create your own .env file by running the following command from the root directory of roomRequest.
cp samples/.env-sample ./.env
-
In your text editor of choice, open the .env file and update it with the data created in the prerequisite steps.
-
Next run
npm install
. This will install all the nope dependancies. After the install is complete, thescripts/postinstall.js
script will run. This script checks to see if abuilding
collection exists in the DB you provided. If not, it will create the collection with a sample building called ORD. -
type
node app.js
to launch roomRequest. -
If everything worked properly, you should be able to send your bot a message from Spark!