-
create virtual environment
- ./create_venv.sh
-
create mysql database named
zhifang
with utf-8 encoding -
cp instance/config.py.example instance/config.py
-
fill in the SECRET_KEY, SECURITY_PASSWORD_SALT, DB_USER, DB_PSWD in
instance/config.py
-
initial database(with venv activated)
- python manage.py db_init
-
run server(with venv activated)
- ./start.sh
- docker-compose up