Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

AlexanderEkdahl/bokhyllan.lu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Bokyhyllan.lu gör det enkelt att köpa och sälja begagnad studentlitteratur till bästa möjliga pris.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published