Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
coverage
db
doc
features
lib
log
public
script
spec
vendor
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
diagram.png

README.md

Evolve

Notice about testing w/ Cucumber

To load seed pages into the db, add them to db/seeds.rb, surrounded by a Rails.env.test? if block. These will be loaded when features/step_definitions/web_steps.rb is loaded

Figaro

Creating a local Admin user

To add yourself as an admin to your local configuration, create config/application.yml and add the following entries to it:

ADMIN_NAME: Admin
ADMIN_EMAIL: admin@berkeley.edu
ADMIN_PASSWORD: mypassword

Now when you run rake db:seed it should create your new admin user.

Creating a heroku Admin user

Create the yml file as mentioned above, but first run rake figaro:heroku which adds the config variables to the heroku environment. After, run heroku run rake db:seed to seed the heroku database.

You can’t perform that action at this time.