GithubHelp home page GithubHelp logo

railsbricks's Introduction

RailsBricks

Boost your Rails development productivity with RailsBricks


  • Title: RailsBricks
  • Version: 1.0.3
  • Author: Nico Schuele
  • Contact: [email protected]
  • Twitter: @railsbricks

Features

  • replaces the rails new command with rbricks -n
  • includes useful gems and sets them up for you
  • offers two layouts for your site: Reset CSS or Bootstrap 3
  • creates and configures a User model from scratch or with Devise
  • configures your SMTP parameters both in the dev and prod environments
  • inits local and remote git repositories
  • ...and much more to boost your productivity!

Prerequisites

In order to use RailsBricks, you need the following:

  • A nix-based OS. That can be any flavour of Linux or Mac OS X. currently, RailsBricks doesn't run on Windows. If you are a Microsoft Windows-based Rails developer, have a look at Nitrous.IO
  • Ruby Version Manager (RVM) must be installed on your machine. Get it here: https://rvm.io
  • some knowledge of Rails (!)

Install

######1 - cd to your <user> folder:

cd ~

######2 - clone the railsbricks repository into ~/railsbricks

git clone https://github.com/nicoschuele/railsbricks.git

######3 - Add RailsBricks location to your path in ~/.bash_profile

PATH=$PATH:~/railsbricks

Update

To update RailsBricks to the latest version, just run the following command:

rbricks --update

Tip

As RailsBricks will be in your PATH, you can simply type a few letters and then press the tab key. It will autocomplete the name in your terminal. Example:

rbr + tab

...will autocomplete to:

rbricks

Tutorial

Visit railsbricks.net to see an intro video and some samples.

Usage

Creating a new Rails app

rbricks -n

Destroying a Rails app

rbricks -D

Resetting the database

rbricks -r

Options

User model

    1. Simple
    1. Devise
    1. None

Layout

    1. Reset CSS
    1. Bootstrap 3

Git

  • local repository (y/n)
  • remote repository (y/n)
  • creates an augmented .gitignore

Environment variables

  • production domain
  • smtp server
  • smtp port
  • smtp username
  • smtp password
  • email address used for sending emails

Secret token

  • Automatically generated and not tracked by Git

Seeds

  • Offers to create test users automatically

Questions, Feedback

If you have any question or feedback, drop me a line at [email protected] or tweet at @railsbricks

License

Copyright (c) 2013 - Nico Schuele. See MIT-LICENSE for further details.

railsbricks's People

Contributors

nicoschuele avatar

Watchers

 avatar  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.