ywzhaiqi / fastapi-amis-admin_demo

fastapi-amis-admin demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amis-fastapi-admin Demo

Develop

Install command line extension

pip install fastapi_amis_admin[cli]

How to start

  1. create your app using faa new app_name .
  2. writing your apps under amis_fastapi_admin/backend/apps folder.
  3. run your server using faa run .

Documentation

See Docs

Deploy

Install and run:

  • Use pip to install
# 1.Change to the project root directory
cd ./amis_fastapi_admin/backend
# 2.Install dependencies.(Recommend to use virtual environment)
pip3 install -r requirements.txt
# 3.Run server.
faa run
  • Use pdm to install
# 1.Install pdm
pip3 install --user pdm
# 2.Install dependencies.
pdm install
# 3.Run server.
pdm run run

Preview

About

fastapi-amis-admin demo


Languages

Language:Python 98.2%Language:Dockerfile 1.8%