Skip to content

ErikJiang/accountbook_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

accountbook_server

account book server project

构建运行步骤

1. 创建虚拟环境并安装依赖

$ pipenv install

2. 运行虚拟环境

$ pipenv shell

3. 创建数据库并执行迁移

启动MySQL服务, 创建数据库accountbook:

CREATE DATABASE accountbook DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;

检查数据库连接配置, 执行建表迁移:

$ python manage.py migrate

4. 运行服务

$ python manage.py runserver

Releases

No releases published

Packages

No packages published

Languages