Skip to content

hashdog/rails-5-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base app Rails 5 + uJs

By HashDog Logo

Getting started

Clone a boilerplate

git clone [email protected]:hashdog/rails-5-boilerplate.git [project name]

Run bundle in project folder

bundle

Setup db

bundle exec rake db:setup

Edit client name

nano +37 app/views/home/wellcome.html.erb

Add changes in your new local repository

git add app/views/home/wellcome.html.erb

Commit the changes

git commit -m "First commit"

Replace the origin with the client repository URL (example: git remote set-url origin [email protected]:user/repo.git)

git remote set-url origin [new client repository URL]

Push the changes

git push origin master

Create an app on heroku with two enviroments, staging and production

heroku create -a staging-[app name] --remote staging
heroku create -a [app name] --remote production

Create a branch for production

git checkout -b production

Deploy the starter app for staging and production

git push staging master
git push production production/master

App Components

  • Ruby 2.2.3
  • Rails 5
  • Postgres
  • Devise
  • Sass
  • Bootstrap 3

About

HashDog BoilerPlate de Rails 5 + uJs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published