All Projects → agilie → Rails-Application-Template

agilie / Rails-Application-Template

Licence: MIT license
Base template for creating rails applications.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Rails-Application-Template

EasyJob
🔨 EasyJob - keep and execute your PowerShell and BAT scripts from one interface
Stars: ✭ 228 (+1166.67%)
Mutual labels:  runner
Swatch
Watcher for Unit Tests written in Swift
Stars: ✭ 55 (+205.56%)
Mutual labels:  runner
competiwatch
Web app to track and visualize your competitive match history in Overwatch.
Stars: ✭ 17 (-5.56%)
Mutual labels:  rails-application
The-Ruby-Workshop
A New, Interactive Approach to Learning Ruby
Stars: ✭ 26 (+44.44%)
Mutual labels:  rails-application
secret config
Centralized Configuration and Secrets Management for Ruby and Rails applications.
Stars: ✭ 15 (-16.67%)
Mutual labels:  rails-application
fitgem oauth2
Ruby gem to use Fitbit web API
Stars: ✭ 15 (-16.67%)
Mutual labels:  rails-application
wedding
A simple rails app for distributing wedding information and managing the guest list.
Stars: ✭ 32 (+77.78%)
Mutual labels:  rails-application
rails-app-best-practice
Rails app structure example
Stars: ✭ 37 (+105.56%)
Mutual labels:  rails-application
guias-de-rails-espanol
Guías de Rails en Español (Rails 5) Estas son las guías de Rails 5 en Español (Guías Completas, con todos los Capítulos). Estas guías están diseñadas para que tengas una productividad inmediata con Rails, y para ayudarte a entender como encajan las piezas en Rails.
Stars: ✭ 42 (+133.33%)
Mutual labels:  rails-application
taskrunner
🍑 a configurable task runner written in go
Stars: ✭ 28 (+55.56%)
Mutual labels:  runner
coderun
⏯️ Code runner CLI that can run any languages
Stars: ✭ 23 (+27.78%)
Mutual labels:  runner
EllaTheGame
Ella - The Game
Stars: ✭ 39 (+116.67%)
Mutual labels:  runner
python-appium-framework
Complete Python Appium framework in 360 degree
Stars: ✭ 43 (+138.89%)
Mutual labels:  runner
uiLogos-sketch-plugin
Sketch plugin to Insert professionally designed dummy logos of companies and 190+ country flag into SketchApp
Stars: ✭ 26 (+44.44%)
Mutual labels:  runner
Elaina
🔮 Docker-based remote code runner. / 基于 Docker 的远程代码运行器
Stars: ✭ 36 (+100%)
Mutual labels:  runner
jest-runner-go
A Golang runner for Jest
Stars: ✭ 22 (+22.22%)
Mutual labels:  runner
cargo-limit
Cargo with less noise: warnings are skipped until errors are fixed, Neovim integration, etc.
Stars: ✭ 105 (+483.33%)
Mutual labels:  runner
junitparams-spring-integration-example
Example of JUnitParams integration with Spring
Stars: ✭ 15 (-16.67%)
Mutual labels:  runner
instant-mocha
☕️ Build tests with Webpack and run with Mocha in one command
Stars: ✭ 39 (+116.67%)
Mutual labels:  runner
duty
A simple task runner.
Stars: ✭ 36 (+100%)
Mutual labels:  runner

License

Rails Application Template

Base template for creating Ruby-on-Rails applications

Current version: 0.1.2

How to use

  1. Download or clone the template
  2. Set your ruby version and gemset
    $ rvm use 2.3.0@myapp --create
  3. Install rails gem for the gemset
    $ gem install rails -v 'your_rails_version'
  4. Simply use the template when you are creating your application
    $ rails new myapp -m /path/to/template/bootstrap.rb
  5. Have fun with your application

Customization

Template uses config.yml file for installing and configuring rails gems and other stuff. The list of statements that will help you to customize your own template are given below.

  1. The configuration file consists of several blocks like. They divide the application generation process into some logic parts.
    rvm: ...
    testing: ...
    documentation: ...
    deploy: ...
  2. The main part of each block is gems. So if you want more gems to be added to your project just add a new block with any name, which suits your aim with appropriate gems block or add your gems to any existing block.
     testing:
       gems:
         faker: true
         rspec-rails:
           group: test, development
         factory_girl_rails:
           version: ~> 4.8
           group: test, development
    You can use just true value for a gem. In this case the gem will be added to Gemfile like
    gem 'faker'
    You can also pass version and/or group params and they will be used in Gemfile either
    gem 'factory_girl_rails', '~> 4.8', group: [:test, :development]
  3. Each block can run his own runner from runners folder if one exists. There you can put any code you want to execute, i.e.
    create_file '.ruby-version', RUBY_VERSION
    create_file '.ruby-gemset', app_name
    file '.rvmrc', "rvm use #{RUBY_VERSION}@#{app_name}"
  4. If you need to make some actions after gem is added, i.e. run rails generate rspec:install you can put callback to the runner that will be executed after gem is added. By convention callback name depends on gem name and should look like this
    "#{your_gem_name.gsub('-', '_')}_callback"
    So, for rspec-rails the full configuration will look like that
    # config.yml
    testing:
      gems:
        rspec-rails:
          group: test, development
    # runners/testing.rb
    def rspec_rails_callback
      generate('rspec:install')
    end

TODOs

  1. Add gitignore with appropriate file exclusions
  2. Implement a convenient way for user logins and passwords injecting to initializers
  3. Add more configurations to capistrano

Troubleshooting

Problems? Check the Issues block to find the solution or create an new issue that we will fix asap. Feel free to contribute.

Author

This Rails application template is open-sourced by Agilie Team [email protected]

Contributor

Sergey Melashych

Contact us

If you have any questions, suggestions or just need a help with web or mobile development, please email us at [email protected]. You can ask us anything from basic to complex questions.

We will continue publishing new open-source projects. Stay with us, more updates will follow!

License

The MIT License (MIT) Copyright © 2017 Agilie Team

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].