- Python 3.6+
- MongoDB 3.4+
python3 -m venv ./venv
source ./venv/bin/activate
pip install -e .
Install and launch MongoDB on default port (27017) or tune it in your settings.local.py (see Configuring section).
flask initdb
You may reset your database by deleting the /cafebabel.db file and re-initializing the database.
If existing, the file settings.local.py
at the root of the project will
override the default settings.py
configuration.
export FLASK_APP=cafebabel
export FLASK_DEBUG=1
flask run
sudo python -m smtpd -n -c DebuggingServer localhost:25
In order to deploy to the staging server, you should have an SSH access to the server.
Your server must have python3.6 installed.
Installation can be processed with make install
.
Deploying will run through make deploy
.
Please document important architecture decisions, you can use adr-tools for this.
Existing ones are located in docs/architecture/decisions
.