diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2017-01-08 19:39:51 +0000 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2017-01-08 22:00:03 +0000 |
commit | 6dfe350cb5eefde3a99374d14c083d1906717ddd (patch) | |
tree | f064f18885b4c314845756fec2021980c2fb6dd9 /README.md | |
parent | 9aeb1445549ec9a5b890f6df9bcf2952ef94ee03 (diff) |
Remove dbinit and use sql/js seed files
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -151,8 +151,9 @@ server { } ``` -Prior to using MySQL, MongoDB or SQLite you need to create the database and tables using the [dbinit tool](cmd/dbinit/dbinit.go). -dbinit hasn't been tested with mongo replica sets. +Prior to using MySQL, MongoDB or SQLite you need to create the database and tables using [one of the provided files](db). +e.g. `mysql < db/seed.sql` or `mongo db/seed.js`. +Obviously you should setup a role user for running in prodution. ### datastore |