-
Notifications
You must be signed in to change notification settings - Fork 6
Home
twymer edited this page May 22, 2011
·
2 revisions
##Initial setup
Install Ruby version 1.8.7 and bundler, do bundle install --without production
in the project directory. Copy development sqlite3 db to the db/ directory and run rake db:migrate
. Start the rails server with ruby script/server
.
##Running tests:
rake db:test:prepare
rake db:fixtures:load RAILS_ENV=test
ruby test/unit/some_test.rb
##Setting admin password: After you set up the project or if you accidentally blow away the users & participants in the database you can run the following command to reset the "administrator" account password:
rake data:set_admin_password
This will set the password for the "administrator" user to "administrator" and that user's birthday to Jan 1, 1970.