gbv / coli-ana

API to analyze DDC numbers
https://coli-conc.gbv.de/coli-ana/app/
MIT License
2 stars 0 forks source link

Add script to create database and user #9

Closed nichtich closed 3 years ago

nichtich commented 3 years ago

Create a new database and user in PostgresQL.

stefandesu commented 3 years ago

I would rather link to the PostgreSQL docs than try to write a script for that. Sure we can keep it simple, but if half the time there's some issue and the user needs to refer to the docs anyway, we could just as well not bother.

Eventually, I would add Docker support and recommend that for hosting coli-ana since it makes everything (especially the database stuff) much easier.

Also, how often will other people install and host this anyway?

(Docs: https://www.postgresql.org/docs/current/tutorial-createdb.html)

nichtich commented 3 years ago

Ok, I'll add it to the README.