Skip to content
mgurgPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

lockerAPI

Migrations

New migration

alembic revision -m "create XXX table"

Note

Run below commands inside a docker container

Check current revision

docker exec -it lockerapi-web .venv/bin/alembic current

To run all of your outstanding migrations, execute the upgrade head command

docker exec -it lockerapi-web .venv/bin/alembic upgrade head

To roll back the latest migration operation, you may use the alembic downgrade command

docker exec -it lockerapi-web .venv/bin/alembic alembic downgrade -1

To run rolled back migration again:

docker exec -it lockerapi-web .venv/bin/alembic alembic downgrade +1

Revision History: Use .venv/bin/alembic history to see the history of migrations and understand the steps involved. Detailed View: Use .venv/bin/alembic show <revision> to get detailed information about specific revision scripts.

Update python dependencies

uv lock --upgrade

Check & format project

ruff check app/
ruff check app/ --fix

Cold start

  • alembic migration
  • insert geo data uv run locations.py

ADR

http://localhost:5000/{language}/r/{room_name} http://localhost:5000/{language}/l/{location} http://localhost:5000/{language}/l/{location}/{tag} http://localhost:5000/{language}/c/{company_name}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages