account book server project
$ pipenv install
$ pipenv shell
启动MySQL
服务, 创建数据库accountbook
:
CREATE DATABASE accountbook DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
检查数据库连接配置, 执行建表迁移:
$ python manage.py migrate
$ python manage.py runserver
- 详见:
wiki