Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 575 Bytes

readme.md

File metadata and controls

35 lines (29 loc) · 575 Bytes

Steps for setting up this repository

1. python3 -m venv env
2. source env/bin/activate
3. pip install -r prerequisites/requirement.txt
4. sudo systemctl start mongod

Setup auth database

$ mongo
> use engine-users
> db.createUser(
  {
    user: "engine-master",
    pwd: passwordPrompt(),  // or cleartext password
    roles: [{ role: "readWrite", db: "te" }]
  }
)

Migrate system templates

$ MONGODB_MIGRATIONS_CONFIG=migrations/config.ini mongodb-migrate

Run server

$ python manage.py runserver