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
Install dependencies:
-
postgresql
$ brew install postgresql
Ensure you have already initalize a user with username:
postgres
and password:postgres
( e.g.$ createdb -d postgres
) -
rails 5
$ brew install rbenv
$ rbenv install 2.2.3
$ gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/
$ gem install rails --pre
$ rails -v
( output should be rails5.x )
Then,
-
Add
gems.ruby-china.org
to your bundle mirrors(optional)$ bundle config mirror.https://rubygems.org https://gems.ruby-china.org
-
Create your own rails app applying
rails-template
$ rails new myapp -m https://raw.github.com/80percent/rails-template/master/composer.rb
rails-template
apply lots of good components for you to make development damn quick.
-
we use
Ruby on Rails 5
,ActionCable
andTurbolinks
features are opened by default. -
Bootstrap3
andfont-awesome
are integrated to make your products UI easily, it aslo has some example pages for you to quickly start. -
carriewave
andcarriewave-upyun
are integrated. -
mina
and its plugins are the best & simplest deployment tools in the world for rails app. -
slim
,rspec
,high_voltage
and so on.
Other gems integrated in rails-template are worth learning seriously.
- Ruby on Rails 5
- bootstrap 3
- font-awesome
- figrao
- postgres
- slim
- simple_form
- high_voltage
- carriewave & upyun
- sidekiq
- kaminari
- mina
- puma
- lograge
- wiki for more detail introduce
- deployment step by step
Welcome to pull request to update this if you choose rails-template
for your new rails app.
- 八十二十
- sunesy 尚艺(开发中)
- pausee 衣橱(开发中)
- Waiting for more examples here...
MIT