Coder Social home page Coder Social logo

run26kimo / rails-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dao42/rails-template

0.0 2.0 0.0 51 KB

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

License: MIT License

Ruby 90.09% HTML 9.74% CSS 0.17%

rails-template's Introduction

rails-template

rails-template has supported the newest rails( 5.2 ) setup

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

It's a best starting 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 initialized 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.2

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

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

    $ gem install rails

    $ rails -v ( output should be rails 5.2.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. Bootstrap4 and font-awesome are integrated to make your products UI easily, it aslo has some example pages for you to quickly start.

  3. active_storage and local file mode are opened by default.

  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.2
  • bootstrap 4
  • font-awesome
  • figaro
  • postgres
  • slim
  • simple_form
  • high_voltage
  • carriewave & upyun
  • sidekiq
  • kaminari
  • mina
  • puma
  • lograge

Deployment document

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

windy avatar dragoncz avatar

Watchers

James Cloos avatar RichKe 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.