Skip to content
No description, website, or topics provided.
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
lib
log
public
scripts
test
vendor/assets
.gitignore
.ruby-version
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru

README.md

Taxes for Charity

Installation

brew install rbenv
brew install readline
RUBY_CONFIGURE_OPTS=--with-readline-dir=`brew --prefix readline` rbenv install 2.1.5
gem install bundler

Download Postgres.app.

Configure your path, possibly in ~/.bash_profile:

export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin

Install the pg gem:

ARCHFLAGS="-arch x86_64" gem install pg

And install remaining gems:

bundle install

Create databases and users:

CREATE ROLE tfc_development LOGIN ENCRYPTED PASSWORD 'tfc_development'
CREATEDB REPLICATION
VALID UNTIL 'infinity';

CREATE DATABASE tfc_development
WITH ENCODING='UTF8'
OWNER=tfc_development
CONNECTION LIMIT=-1;

CREATE ROLE tfc_test LOGIN ENCRYPTED PASSWORD 'tfc_test'
CREATEDB REPLICATION
VALID UNTIL 'infinity';

CREATE DATABASE tfc_test
WITH ENCODING='UTF8'
OWNER=tfc_test
CONNECTION LIMIT=-1;

Run

bundle exec rails s

Deploy

git push heroku master
You can’t perform that action at this time.