Boost your Rails development productivity with RailsBricks
- Title: RailsBricks
- Version: 1.0.3
- Author: Nico Schuele
- Contact: [email protected]
- Twitter: @railsbricks
- replaces the
rails new
command withrbricks -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!
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 (!)
######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
To update RailsBricks to the latest version, just run the following command:
rbricks --update
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
Visit railsbricks.net to see an intro video and some samples.
rbricks -n
rbricks -D
rbricks -r
-
- Simple
-
- Devise
-
- None
-
- Reset CSS
-
- Bootstrap 3
- local repository (y/n)
- remote repository (y/n)
- creates an augmented .gitignore
- production domain
- smtp server
- smtp port
- smtp username
- smtp password
- email address used for sending emails
- Automatically generated and not tracked by Git
- Offers to create test users automatically
If you have any question or feedback, drop me a line at [email protected] or tweet at @railsbricks
Copyright (c) 2013 - Nico Schuele. See MIT-LICENSE for further details.