Created
September 12, 2011 20:25
-
-
Save rklancer/1212303 to your computer and use it in GitHub Desktop.
default_project error in rails portal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/rake db:drop:all | |
git clean -fdx . | |
echo "rvm use `rvm current`" > .rvmrc | |
bundle install --binstubs | |
ruby config/setup.rb -n "Cross Project Portal" -D xproject -u <username> -p <password> -t xproject --states none -y -q -f | |
RAILS_ENV=production bin/rake db:create:all | |
RAILS_ENV=production bin/rake db:migrate:reset | |
RAILS_ENV=production bin/rake app:setup:new_app | |
bin/rake db:dump | |
rails s | |
^C | |
cap xproject-dev db:fetch_remote_site_keys | |
cap xproject-dev db:fetch_remote_db | |
RAILS_ENV=production bin/rake db:migrate | |
RAILS_ENV=production bin/rake db:load | |
rails s --debugger | |
# to see the error, log in to the portal at localhost:3000 and visit | |
# http://localhost:3000/admin/projects | |
# | |
# to work around the error, replace | |
# :site_name: Cross Project Portal | |
# with | |
# :site_name: XPROJECT Investigations | |
# everywhere (or at least in development) in config/settings.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment