npm install
npm run build
Fill in required config data
config/example.*
removeexample.
- Fill out required data
Connecting to a local mongoDB database (recommended)
- Create directory in system root
/data/db
- For connecting to a local mongoDB database, install and run
mongod
on the default port 27017 at project root: https://www.mongodb.com/download-center#community
Connecting to the production database
- In the root of your app folder, create a folder called
config
if it doesn't already exist. - Under the
config
folder create a file called secret.json - In secret.json, add the mongoDB password as
mongoDbPassword
mongod
npm start
https://givelight.herokuapp.com/
Admin users have the ability to perform adiminstrative actions such as view the list of all users. To add an admin user:
- Connect to the database with a tool such as robomongo https://robomongo.org/
- Open the 'user' collection
- Add the 'isAdmin' property to the user you want to promote to adminstrator and set its value to true.
On the next login that user will have admin priviledges.