Skip to content

cafebabel/cafebabel.com.backup

Repository files navigation

Cafebabel

Installation

Requirements

Python 3.6+

Preparing the project

python3 -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt

Install the database

export FLASK_APP=app.py
export FLASK_DEBUG=1
flask initdb

You may reset your database by deleting the /cafebabel.db file and re-initializing the database.

Running the project

flask run

Running a dummy mail server

sudo python -m smtpd -n -c DebuggingServer localhost:25