Skip to content

bokherus/web-barcamp-bangkhen7

Repository files navigation

README

Build

Requirements

  1. Ruby 2.3.0
  2. Rails 5.0
  3. PostgreSQL version 9.4.x
  4. Git
  5. Bundler gem install bundler

Installation Steps

OSX 10.10 (Yosemite)

  1. Xcode

  2. Xcode Command Line Tools

  3. Homebrew
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  4. Install Git command line
    brew install git

  5. Postgresql 9.4.x
    brew install postgresql

  6. RVM

  • gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
  • \curl -sSL https://get.rvm.io | bash -s stable --ruby
  1. Install ruby-2.3.0 using RVM
    rvm install ruby-2.3.0

Getting start

  1. Clone this repository into your machine
    git clone https://github.com/bokherus/web-barcamp-bangkhen7.git

  2. Install required ruby gems
    bundle install

  3. Start postgres

  4. Create database in postgres
    rake db:create rake db:migrate

Making changes (Do not push directly to development)

  1. Create a new branch
    git checkout -b feature/feature_name

  2. Work on the new branch, don't forget to commit regularly
    git commit -m 'commit message'

  3. Pass Rpsec test
    rspec

  4. Push to remote server
    git push origin feature/feature_name

  5. Create a pull request to merge into development

Useful websites

  1. Official Rails guide
  2. Basic ruby
  3. Codecademy
  4. Git (Code School)

About

For development of Barcamp Bangkhen 7 website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •