Metadata-Version: 2.1
Name: fastapi-manage
Version: 0.2.0
Summary: 
Author: lewei_huang
Author-email: auxpd96@163.com
Requires-Python: >=3.7,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Jinja2 (>=2.11.2,<3.0.0)
Requires-Dist: configobj (>=5.0.6,<6.0.0)
Requires-Dist: typer (>=0.3.2,<0.4.0)
Description-Content-Type: text/markdown

# fastapi_manage

#### 介绍
fastapi的模板生成，数据库版本管理项目  
FastAPI template generation, database version management project  

fastapi+sqlalchemy  


#### Usage
##### startproject
Creates a fastapi project directory structure for the given project name in the
current directory or optionally in the given directory.
```shell
fastapi-manage startproject yourproject
```

##### makemigrations
Creates new migration(s) for project.
```shell
cd ./yourproject
python manage.py makemigrations
```

##### migrate
Updates database schema. Manages both apps with migrations and those without.
```shell
cd ./yourproject
python manage.py migrate
```

##### runserver
Starts a lightweight Web server for development.
```shell
cd ./yourproject
python mange.py runserver
```
Options:
-h, --host　　　　　[default:127.0.0.1]
-p, --port　　　　　[default:8000]
-w, --workers　　　[default:1]
--reload　　　　　　auto-reloader

