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

sgh-eltern/rodauth-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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