forked from https://github.com/jeremyevans/rodauth/tree/master/demo-site
-
Export the database URL:
$ export DB=postgres://rodauth_test:rodauth_test@localhost/rodauth_test -
(Re-)Create the database tables:
$ bundle exec rake db:teardown db:setup -
Reload the app whenever a file was changed:
$ rerun -d . "bundle exec rackup"
- Create the database
- Migrate the database
- Set the
DBandRODAUTH_SESSION_SECRETvariables - Start the app