- Ruby 2.3.0
- Rails 5.0
- PostgreSQL version 9.4.x
- Git
- Bundler
gem install bundler
-
Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install Git command line
brew install git
-
Postgresql 9.4.x
brew install postgresql
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash -s stable --ruby
- Install ruby-2.3.0 using RVM
rvm install ruby-2.3.0
-
Clone this repository into your machine
git clone https://github.com/bokherus/web-barcamp-bangkhen7.git
-
Install required ruby gems
bundle install
-
Start postgres
-
Create database in postgres
rake db:create
rake db:migrate
-
Create a new branch
git checkout -b feature/feature_name
-
Work on the new branch, don't forget to commit regularly
git commit -m 'commit message'
-
Pass Rpsec test
rspec
-
Push to remote server
git push origin feature/feature_name
-
Create a pull request to merge into development