Skip to content

Instantly share code, notes, and snippets.

@spencermamer
Forked from hamstar/gist:1127306
Last active August 29, 2015 14:02
Show Gist options
  • Save spencermamer/e106d611c12ac53962b0 to your computer and use it in GitHub Desktop.
Save spencermamer/e106d611c12ac53962b0 to your computer and use it in GitHub Desktop.
rm -rf ~/.gem*
gem install bundler
PATH=$PATH:/usr/lib/ruby/gems/1.8/bin
cd ~
git clone git://github.com/chiliproject/chiliproject.git
cd chiliproject
git checkout stable
cp * ../git.openscienceinstitute.org/ -R
cd ../git.openscienceinstitute.org
# Make sure database is working
bundle install --without postgres rmagick test
gem install rdoc-data; rdoc-data --install
bundle exec rake generate_session_store
RAILS_ENV=production bundle exec rake db:migrate
# No output is no good, check database.yml
RAILS_ENV=production bundle exec rake redmine:load_default_data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment