Skip to content
Bokyhyllan.lu gör det enkelt att köpa och sälja begagnad studentlitteratur till bästa möjliga pris.
Ruby HTML CSS JavaScript
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
bin
config
db
public
test
.gitignore
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru

README.md

Bokhyllan.lu

Setup

OSX/Linux

Dependencies: PostgreSQL(running), Ruby 2.0, Bundler

ARCHFLAGS="-arch x86_64" gem install pg
bundle install --without production staging
rake db:setup
bin/rails s

Production

Updating remote

git push origin master # Codeship keeps origin master in sync with staging
heroku pipeline:promote --app bokhyllan-staging

Pulling the database from Heroku

heroku pg:backups capture --app bokhyllan &&
curl -o heroku.dump `heroku pg:backups public-url --app bokhyllan` &&
pg_restore --clean --no-acl --no-owner -h localhost -U `whoami` -d bokhyllan_development heroku.dump &&
rm heroku.dump &&
bin/rake algoliasearch:reindex

Generating UML Diagram

Dependencies: Railroady

railroady -M | dot -Tpng > models.png
You can’t perform that action at this time.