Add psycopg2-binary to Pipfile, setup main.py

This commit is contained in:
2023-04-23 08:54:52 -05:00
parent c32554a4e9
commit 97d563902c
3 changed files with 109 additions and 0 deletions

8
main.py Normal file
View File

@@ -0,0 +1,8 @@
from psycopg2 import connect
from seed import main
if __name__ == '__main__':
conn = connect(dbname='railway', user='postgres', password='8h9hxh5YeBwfqTCrxQQb',
host='containers-us-west-174.railway.app', port='7238')
main(conn)