Git Product home page Git Product logo

rails-boilerplate's Introduction

Substance Lab Rails Application Boilerplate

How to use this repository?

  1. cd path/to/where/you/want/the/new/app
  2. export NEW_APP_NAME=<name of app>
  3. git clone [email protected]:substancelab/rails-boilerplate.git $NEW_APP_NAME
  4. cd $NEW_APP_NAME
  5. rm -rf .git .circleci
  6. Replace all occurrences of "Boilerplate" with YourAppName": find . -type f -print0 | xargs -0 sed -i '' 's/Boilerplate/YourAppName/g'
  7. Replace all occurrences of "boilerplate" with "your_app_name": find . -type f -print0 | xargs -0 sed -i '' 's/boilerplate/your_app_name/g'
  8. If you don't need users in the project, remove Devise: script/boilerplate/remove_devise
  9. mv README_APP.md README.md
  10. rm -rf script/boilerplate

... and you're off to the races.

Typical next steps:

Set up the new repo

  1. git init
  2. git remote add origin GIT_REMOTE
  3. git add .
  4. git commit -m "Initial import from rails-boilerplate"
  5. git push --set-upstream origin master

Set up the application

  1. cp config/database.yml.example config/database.yml # edit as necessary
  2. script/setup

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.