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
DB
andRODAUTH_SESSION_SECRET
variables - Start the app