Skip to content
Snippets Groups Projects
Commit 51205c46 authored by David Trattnig's avatar David Trattnig
Browse files

chore: remove db related launch settings

parent 3a4b8ded
No related branches found
No related tags found
1 merge request!35ORM-less scheduling
......@@ -13,16 +13,6 @@
},
"module": "aura_engine.app",
"console": "integratedTerminal"
},
{
"name": "Recreate Database",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/aura_engine/app.py",
"args": [
"--recreate-database"
],
"console": "integratedTerminal"
}
]
}
\ No newline at end of file
......@@ -11,9 +11,6 @@ help::
@echo " format - apply automatic formatting"
@echo " test - run test suite"
@echo " coverage - test the code coverage"
@echo " db.init - drop and re-init the database"
@echo " db.status - display database status"
@echo " db.connect - connect to the database"
@echo " log - tail log file"
@echo " run - start app"
@echo " release - tag and push release with current version"
......@@ -88,16 +85,6 @@ test::
coverage::
poetry run coverage run -m unittest discover . --pattern "test_*.py" && poetry run coverage report -m && poetry run coverage xml
db.init::
sudo -u postgres psql -f contrib/postgresql-drop-all.sql
sudo -u postgres psql -f contrib/postgresql-create-database.sql
db.status::
pg_isready -d aura_engine -h localhost -p 5432 -U aura_engine
db.connect::
PGHOST=127.0.0.1 PGPORT=5432 PGUSER=aura_engine PGPASSWORD=1234 PGDATABASE=aura_engine psql
log::
tail -f logs/engine.log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment