Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 970 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 970 Bytes

#Plus More

Set Up

Setting up MongoDb

Open two terminal windows. In the first window run:

make mongod

In the second window run:

mongo
> var config = {_id: "plusmore", members: [{_id: 0, host: "127.0.0.1:27017"}]}
> rs.initiate(config)

Running

Starting the app

Each app is in it's own subdirectory. cd into the app you want to run, and run make start

Deploying Meteor projects using Modulus

Follow these instructions.

NODE_ENV			production
MONGO_URL			mongodb://plusmore:<password>@candidate.11.mongolayer.com:10410/plusmore
MONGO_OPLOG_URL		mongodb://oplogger:<password>@candidate.0.mongolayer.com:10412,candidate.11.mongolayer.com:10410/local?authSource=plusmore
PORT				80
ROOT_URL			{{urlFromSetup}}
MAIL_URL			smtp://postmaster%40plusmoretablets.com:<password>@smtp.mailgun.org:587

Make sure to run modulus project restart after any changes to environment variables.