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

Change database to sqlite3 #50

Merged
merged 4 commits into from
May 30, 2020
Merged

Change database to sqlite3 #50

merged 4 commits into from
May 30, 2020

Conversation

arbrown
Copy link
Owner

@arbrown arbrown commented May 30, 2020

Sqlite3 should lower the barrier to local development and will be fine for production use. Note that there is a one-time compilation required (using gcc) since sqlite3 is a c library.

https://github.com/mattn/go-sqlite3#installation

Perform database initialization before auth backend creation so that the
db file is created before auth tries to read it (only matters on first
run)
* Ignore all conf JSON files (in case copies are made)
* Remove old Caddyfile reference
Ignore .s3db files (sqlite3 database)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use a lighter database Add a database (probably sqlite) to track games
1 participant