diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-18 07:35:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-23 17:47:47 +0200 |
commit | 1dc38cf49b6c7a8b661a9cc675ded94c8ab33c36 (patch) | |
tree | 5a216148adb9d842a5a15c032a671182faa9ba06 /INSTALL-DEV | |
parent | fe6182a8c89675f92e72c881d707e21cdf56f376 (diff) |
Implement brep-migrate utility
Diffstat (limited to 'INSTALL-DEV')
-rw-r--r-- | INSTALL-DEV | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/INSTALL-DEV b/INSTALL-DEV index b81d7fb..6e23664 100644 --- a/INSTALL-DEV +++ b/INSTALL-DEV @@ -48,8 +48,8 @@ $ sudo tail -f /var/log/postgresql/*.log All the commands are executed from brep project root. -$ psql --quiet -d brep -f brep/package.sql -$ loader/brep-loader tests/loader/r.conf # Or some other loader config. +$ migrate/brep-migrate +$ load/brep-load tests/load/r.conf # Or some other loader config. To verify: @@ -115,7 +115,7 @@ $ sudo tail -f /var/log/apache2/error.log To do a "complete reload" (i.e., recreate database schema, load the repository data, and reload the Apache2 plugin), execute the following from brep/: -psql --quiet -d brep -f brep/package.sql -loader/brep-loader tests/loader/r.conf +migrate/brep-migrate --recreate +load/brep-load tests/load/r.conf sudo /etc/init.d/apache2 restart sudo systemctl restart apache2 |