RailStrap 是一个基于 HTML5、Ruby On Rails 4、Ruby 2.0.0 的 Bootstrap 库
RailStrap is a Front-end / Back-end template using HTML5 Boilerplate, Twitter Bootstrap 3, Ruby on Rails (4.0.0) Devise ( Auth ) and Ruby 2.0.0.
Clone the git repo - git clone https://github.com/hugodias/railStrap.git - or download it
Run bundle install
Run rake db:migrate
Then run your server
rails s
Check at http://localhost:3000
Change the cookie secret token at
config/initializers/secret_token.rb
RailStrap::Application.config.secret_token = 'YOUR-NEW-TOKEN-HERE'
Thanks pringles for the tip
RailStrap has a Vagrant file to create your own Virtual Machine for development.
To get started you need to have Vagrant and Virtal Box instaled.
After that you just need to start your VM: vagrant up
After that you have a Ubuntu server to work, but this server isn't configured to work with rails yet! :( So i'm leaving here one virtual box image with Ruby 2.0.0 (rbenv) and Rails 4 pre-configured.
To install this server just follow this steps:
vagrant box add railStrapMachine ubuntuRails4Ruby2.box virtualboxvagrant box list and this new machine should be in that listVagrantfile change config.vm.box="precise32" to config.vm.box="railStrapMachine"vagrant upAnd its done ! Your vagrant vm now has Ruby 2.0.0 and Rails 4 ready to go.
The Unlicense (aka: public domain)
暂无开放 Issues,或尚未同步最近议题。