Skip to content

advanced-rails/01-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 

Repository files navigation

setup

Start Here

Fill out UI

  • Name: -Whatever you want-
  • Public
  • Template: Blank

Ruby & Rails Setup

rvm install 2.4.1
rvm use 2.4.1
rvm gemset create alpha
rvm use 2.4.1@alpha --default
gem install rails pry pry-byebug rspec httparty

Config Files

cd ~
rm .bash_aliases .gitconfig
wget https://raw.githubusercontent.com/chyld/devops/master/dotfiles/c9/.bash_aliases
wget https://raw.githubusercontent.com/chyld/devops/master/dotfiles/c9/.gitconfig

Final

  • Edit the ~/.gitconfig file in your home directory
  • Close all Terminal windows and reopen

database

Postgres Setup

  • sudo service postgresql start
  • psql

new app

  • rails new APP_NAME -d postgresql --skip-action-mailer --skip-action-cable --skip-coffee --skip-test --skip-system-test
  • edit Gemfile
gem 'pry'
gem 'pry-byebug'
gem 'pry-rails'
gem 'faker'

bundle install

links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published