== start-r4
This is a project used to start greenfield projects in rails 4.
-
To avoid share sensitive information this project configure a
local_env.ymlfile as proposse [this][http://railsapps.github.io/rails-environment-variables.html] post in the option number 3 -
Almost all projects that I've started needs an
Usermodel, so this project has anUsermodel with basic authentication through devise gem -
It has an Admin site using active-admin gem
-
It has a basic bootstrap layout very easy to follow and some static pages to start
== Repository Configuration
-
Clone it
-
Replace rails-r4 and the word Start with the name of your project in everywhere.
-
Change origin:
git remote set-url origin git://new.url.here
== App Configuration
-
cp
config/database_example.ymltoconfig/database.ymland configure it -
cp
config/local_env_example.ymltoconfig/local_env.ymland configure it -
run
bundle install -
run test suite
bundle exec rspec