diff options
author | Yorhel <git@yorhel.nl> | 2018-02-04 11:01:58 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2018-02-04 11:02:01 +0100 |
commit | cac732abbadc6a76fbe9b73360aa1aef5c1ba272 (patch) | |
tree | c5d5a77c91d8254347bdb4e294c8305d00d96cca /README | |
parent | 0fc89d090d34f2d7b2037cf6ccc55422c63ed253 (diff) |
Add "development database" for quick setup & testing purposes
+ a bit of tooling to make it work.
The database was contributed by tigershark, with a few minor additions
by me.
Diffstat (limited to 'README')
-rw-r--r-- | README | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -17,6 +17,24 @@ Quick and dirty setup using Docker docker exec -ti vndb su devuser -c 'psql -U vndb' # postgres vndb shell +Development database + + There's a small database with a few pre-filled entries for testing purposes. + It is automatically imported in the Docker image, but you can also manually + import it as follows (requires an initialized DB and needs to be run with a + superuser account. WARNING: This throws away anything in the current DB): + + psql -U postgres vndb -1f util/sql/devdb.sql + + This database includes two user accounts with the following login: + + admin / hunter2 + user / hunter1 + + (The development database is still very minimal, feel free to upload an + improved DB dump to the forums if you have more data) + + Requirements (when not using Docker) global requirements: @@ -92,6 +110,7 @@ Setup - Update the vndb_site password in data/config.pl to whatever you set it in the previous step. + - (Optional) Import the "Development database" as explained above. - Now simply run: util/vndb-dev-server.pl |