start db work
This commit is contained in:
parent
e785b1c27e
commit
9753b3e6a9
2 changed files with 4 additions and 1 deletions
|
@ -14,5 +14,5 @@ currently, there's no reason to run this except for development. however, if you
|
|||
|
||||
1. clone the repository
|
||||
2. copy `src/toastbin/config.sample.json` to `src/toastbin/config.json`
|
||||
3. install dependencies (currently, we just need `flask` but this almost absoultely will change)
|
||||
3. install dependencies (currently, we just need `flask` and `sqlalchemy` from python and `postgresql` from the system repos but this almost absoultely will change)
|
||||
4. run `src/toastbin/app.py` (`python3 src/toastbin/app.py`)
|
||||
|
|
3
src/toastbin/database.py
Normal file
3
src/toastbin/database.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
import sqlalchemy
|
||||
|
||||
engine = sqlalchemy.create_engine('postgresql://') # todo: finish this, give users options maybe
|
Loading…
Add table
Reference in a new issue