This is to demonstrate the evedom python package.
Setup a MongoDB database.
Create a dedicated virtual environment.
In the settings.py
file,
update mongo database info directly (development mode)
or set environment variables accordingly.
MONGO_HOST = os.environ.get('MONGO_HOST', '127.0.0.1')
MONGO_PORT = os.environ.get('MONGO_PORT', 27017)
MONGO_USERNAME = os.environ.get('MONGO_USERNAME')
MONGO_PASSWORD = os.environ.get('MONGO_PASSWORD')
MONGO_DBNAME = os.environ.get('MONGO_DBNAME')
# cd /your/projects/folder (optional)
git clone https://github.com/nam4dev/evedom_demo.git
cd evedom_demo
# . /virtualenv/bin/activate
pip install -r requirements.txt
python wsgi.py
Your application shall run @http://127.0.0.1:5000
That's all folks!