This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DATABASE] | |
Username = databaseuser | |
Password = password | |
Database = databasename | |
Host = localhost | |
Port = 5432 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python setup.py sdist bdist_wheel | |
twine register dist/topic-db-X.Y.Z.tar.gz | |
twine register dist/topic_db-X.Y.Z-py3-none-any.whl | |
twine upload dist/* | |
https://pypi.python.org/pypi/topic-db/X.Y.Z/json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo -i -u postgres | |
psql | |
CREATE USER databasuser WITH PASSWORD 'password'; | |
CREATE DATABASE databasename OWNER databasuser; | |
\q | |
psql -h localhost -U databasuser -d databasename -a -f schema.sql | |
exit |
NewerOlder