m-nikhil / fastapi-skeleton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Developement setup

  • Required python3 and pip3
  • pip3 install pipenv
  • pipenv install, at the application directory
  • copy .env.sample to .env and then fillin the values.
  • sh start.sh, to start the fastapi server
  • export PYTHONPATH=., at the application directory each time before development

Scripts

  • docker-compose up -d --build --force-recreate --renew-anon-volumes
  • alembic revision --autogenerate -m "create user table"
  • alembic upgrade head

About


Languages

Language:Python 88.3%Language:Mako 4.9%Language:Shell 4.1%Language:Dockerfile 2.8%