Coder Social home page Coder Social logo

startup-house-demo's Introduction

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

startup-house-demo's People

Contributors

sarriagada avatar

Watchers

maurotorres avatar Agustin Giuggiolini avatar  avatar James Cloos avatar Claudio Ceballos Paz 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.