rudaporto / continuum_test

Shows how sqlalchemy continuum works when create versions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ssqlalchemy continuum simple example

Steps to run the example:

Create and enter the venv:

python3 -m venv .venv
source .venv/bin/activate

Install packages:

pip install -r requirements.txt

Launch postgres:

docker-compose up -d postgres

Init database:

alembic upgrade head

Run example:

python trips/init_data.py

About

Shows how sqlalchemy continuum works when create versions


Languages

Language:Python 93.4%Language:Mako 6.6%