Deep integration between the SESAR Postgresql schema and the iSamples data model.
To set up python, follow the instructions in the python setup guide.
Follow the installation instructions in the poetry documentation.
poetry shell
, then once it's activated poetry install
Create the database
psql postgres
CREATE DATABASE isb_sesar;
CREATE USER isb_sesar WITH ENCRYPTED PASSWORD 'some_password';
GRANT ALL PRIVILEGES ON DATABASE isb_sesar TO isb_sesar;
Import the dump file into the newly created database
pg_restore -d isb_sesar ./sesardb-schemaonly.dump
python main.py -d ��"postgresql+psycopg2://isb_writer:password@localhost/isb_sesar"
pytest --db-url=��"postgresql+psycopg2://username:password@DB_HOST/DB_NAME"