Skip to content
This repository was archived by the owner on May 18, 2021. It is now read-only.

sgh-eltern/rodauth-demo

Repository files navigation

Rodauth Demo Site

forked from https://github.com/jeremyevans/rodauth/tree/master/demo-site

Development

  1. Export the database URL:

    $ export DB=postgres://rodauth_test:rodauth_test@localhost/rodauth_test
  2. (Re-)Create the database tables:

    $ bundle exec rake db:teardown db:setup
  3. Reload the app whenever a file was changed:

    $ rerun -d . "bundle exec rackup"

Deployment

  • Create the database
  • Migrate the database
  • Set the DB and RODAUTH_SESSION_SECRET variables
  • Start the app

Releases

No releases published

Packages

No packages published