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

Latest commit

 

History

History
30 lines (20 loc) · 559 Bytes

README.markdown

File metadata and controls

30 lines (20 loc) · 559 Bytes

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