Skip to content

realm520/plough

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plough

backend for little plough

Start PostgreSQL

    export POSTGRES_DB=rwdb POSTGRES_PORT=5432 POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres
    docker run --name pgdb --rm -e POSTGRES_USER="$POSTGRES_USER" -e POSTGRES_PASSWORD="$POSTGRES_PASSWORD" -e POSTGRES_DB="$POSTGRES_DB" postgres

Run in debug

    alembic upgrade head
    uvicorn app.main:app --reload

Migration DB

alembic revision --autogenerate -m "Add column last_name to User model"
alembic upgrade head

About

backend for little plough

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published