Giter Club home page Giter Club logo

rails-template's Introduction

rails-template

A best & newest & fastest rails template for chinese senior rails developer.

It's a best start for your new rails project.

An example built with rails-template: https://github.com/80percent/rails-template-example

How to use

Install dependencies:

  • postgresql

    $ brew install postgresql

    Ensure you have already initalized a user with username: postgres and password: postgres( e.g. $ createuser -d postgres )

  • rails 5

    Update ruby up to 2.2 or higher, and install rails 5

    $ ruby -v ( output should be 2.2.x or 2.3.x )

    $ gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/ (optional)

    $ gem install rails

    $ rails -v ( output should be rails 5.x )

Then,

  1. Add gems.ruby-china.org to your bundle mirrors (optional)

    $ bundle config mirror.https://rubygems.org https://gems.ruby-china.org

  2. Create your own rails app applying rails-template

    $ rails new myapp -m https://raw.github.com/80percent/rails-template/master/composer.rb

What we do

rails-template apply lots of good components for you to make development damn quick.

  1. we use Ruby on Rails 5, ActionCable and Turbolinks features are opened by default.

  2. Bootstrap3 and font-awesome are integrated to make your products UI easily, it aslo has some example pages for you to quickly start.

  3. carriewave and carriewave-upyun are integrated.

  4. mina and its plugins are the best & simplest deployment tools in the world for rails app.

  5. slim, rspec, high_voltage and so on.

Other gems integrated in rails-template are worth learning seriously.

Integrated mainly technology stack

  • Ruby on Rails 5
  • bootstrap 3
  • font-awesome
  • figaro
  • postgres
  • slim
  • simple_form
  • high_voltage
  • carriewave & upyun
  • sidekiq
  • kaminari
  • mina
  • puma
  • lograge

TODO

  • wiki for more detail introduce
  • deployment step by step

Projects that using rails-template

Welcome to pull request to update this if you choose rails-template for your new rails app.

Thanks

80percent team

LICENSE

MIT

rails-template's People

Contributors

dragoncz avatar windy avatar

Watchers

 avatar  avatar  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.