Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate databasing #48

Open
nikola-rados opened this issue Jun 28, 2020 · 2 comments
Open

Investigate databasing #48

nikola-rados opened this issue Jun 28, 2020 · 2 comments
Assignees
Labels
research Info gathering
Milestone

Comments

@nikola-rados
Copy link
Contributor

The way we are collecting and using data right now is pretty barbaric. Let's look into using a db in the future.

@nikola-rados nikola-rados added the research Info gathering label Jun 28, 2020
@nikola-rados nikola-rados added this to the Backlog milestone Jun 28, 2020
@maxUser maxUser self-assigned this Jun 28, 2020
@nikola-rados nikola-rados modified the milestones: Backlog, Caterpillar Jun 28, 2020
@maxUser
Copy link
Contributor

maxUser commented Jun 30, 2020

  • SQLite is file-based only. There is no way to talk to it over TCP/IP, you have to have the database file in a network shared folder.

@maxUser
Copy link
Contributor

maxUser commented Jun 30, 2020

-brew install postgresql
To have launchd start postgresql now and restart at login:
brew services start postgresql
Or, if you don't want/need a background service you can just run:
pg_ctl -D /usr/local/var/postgres start

-pip install psycopg2

-/usr/local/var/postgres

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
research Info gathering
Projects
None yet
Development

No branches or pull requests

2 participants