Cents Us Dollars Them
See this live: http://cents-us-dollars-them.herokuapp.com/
Clone a copy of the git repo to your local machine
git clone firstname.lastname@example.org:cgcardona/cents_us.git
Make sure you request an api key
We're gonna wanna stash that api key somewhere private so that noone else can get their hands on it
Start by installing the
foreman gem from heroku
gem install foreman
Foreman is a command-line tool for running Procfile-backed apps. It’s installed automatically by the Heroku Toolbelt, and also available as a Ruby gem.
You need to create a
Procfile with something similar to the following:
web: bundle exec rails server -p $PORT
Now create a
.env file with your config vars
Once you've got this set up then you start WEBrick with
Also you'll want to put your auth key on heroku with
heroku config:add AUTH_KEY=1111111111333333333333333333333777777777777
Make sure to add
.env to your
.gitignore file so that your config vars don't
get checked into version control
Sources of Data
Gems we're using
This is a list of gems that I've added for this project. I'm not listing the gems that come out of the box with rails in the interest of brevity
'underscore-rails', '~> 1.4.3'
Check out the Gemfile for more info
More stuff here soon...
Who's behind this?!
Relax. It's just me, Carlos Cardona. Follow me on Twitter
See something wrong or got something to add/change? Fork this git repo and send me a pull request
If you particularly enjoy my work, I appreciate donations given with Gitcoin.co