Skip to content

MichaelDimmitt/ruby-jax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screen shot 2017-05-22 at 12 30 35 pm

link:https://ruby-jax.herokuapp.com (Not the official RubyJax website)

This repository was repurposed from the Paris.rb website https://github.com/parisrb/rubyparis.org. And is part of my brainstorming toward what to incorporate into the RubyJax website. My current purpose in building the RubyJax website is to learn Rails and make the program a learning experience for future rubyists attending the meetup.

Learned so far:
(1) config/local/, allowing a website to be written into different languages.
(2) Heroku addons. Redis to Go must be added via the resources tab due to Project dependency.

Installation

  1. brew install postgresql
  2. brew install redis
  3. brew install mysql
  4. brew services start postgresql
  5. brew services start redis
  6. brew services start mysql
  7. install rvm and rails through ... rvm website.
  8. rvm install 2.3.3
  9. git clone thisreponame
  10. cd *thisreponame*
  11. bundle install
  12. rails s

deploying to heroku(Rvm must be 2.3.3 or greater)

  1. brew install heroku
  2. heroku login
  3. heroku create
  4. git push heroku master
  5. heroku rake db:migrate
  6. need to add Redis To Go add on via heroku dashboard.

  7. https://dashboard.heroku.com/apps -> yourappname -> ResourcesTab -> find_more_addons -> install Redis To Go
  8. git commit --amend
  9. git push heroku master --force-with-lease

http://stackoverflow.com/questions/10661026/deploying-redis-to-heroku-unable-to-connect