Coder Social home page Coder Social logo

base_project's Introduction

Default Project - Read Me

This is a default Ruby on Rails 4.0 project, using Ruby 2.0.0-p247. It is tested on OS-X Mountain Lion, with rbenv and uses bundler for gem management (via ~/.bundle/config).

Pre-requisites

  • OS-X Mountain Lion
  • rbenv and binstubs plugin
  • Ruby 2.0.0-p247
  • Rails 4.0.0
  • Postgresql
  • Growl

Default Gems

Database

  • pg

Layout/View

  • haml-rails
  • bootstrap-sass

Development/Testing Tools

  • guard-rspec
  • guard-spork
  • guard-livereload
  • spork-rails
  • rb-fsevent
  • growl
  • pry-rails
  • better-errors
  • binding_of_caller
  • meta_request

Testing

  • rspec-rails
  • factory_girl_rails
  • faker
  • capybara
  • database_cleaner
  • launchy
  • selenium-webdriver
  • shoulda-matchers

Heroku (production)

  • rails_12factor

Default configuration covered by base_project

  • Bundler run with binstubs to be installed at .bundle/bin

  • run rails generate rspec:install

  • --format-documentation added to .rspec

  • config/application.rb updated with rspec and factory_girl generator settings

  • create Guardfile with settings for rspec, spork, growl and livereload

  • update spec/spec_helper.rb with spork, factory_girl, capybara and database_cleaner settings

  • replace application.html.erb with application.html.haml

  • remove/test directory (as this is unnecessary and causes conflicts with rspec, spork and guard)

  • includes bootstrap sass (application.js configured with bootstrap.js and bootstrap.css configured via custom.css.scss)

  • layout.html.haml updated to incorporate bootstrap (based on Bootstrap 3 Basic Template)

Setup

  • Clone the repository git clone [repo url] [new project name]

  • Remove git, run: rm -rf .git

  • Update reference to BaseProject and `base_project' to new project name via project wide find and replace

  • Create config/database.yml (see gist for format)

  • Run bundle install --binstubs .bundle/bin

  • Run rbenv rehash (to update the binstubs)

  • Run rake db:create:all

  • Replace this README.md

base_project's People

Watchers

James Cloos avatar Matthew Glover avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.