All Projects → kawasin73 → Rails_docker_template

kawasin73 / Rails_docker_template

Docker template for Rails app or Rails + Webpacker app development.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Rails docker template

String template
A template engine for Rails, focusing on speed, using Ruby's String interpolation syntax
Stars: ✭ 122 (+48.78%)
Mutual labels:  rails, template
Rails Template
A best & newest & fastest rails 6.x template for senior rails developer.
Stars: ✭ 372 (+353.66%)
Mutual labels:  rails, template
The construct
A Modern Rails Template
Stars: ✭ 183 (+123.17%)
Mutual labels:  rails, template
Suspenders
A Rails template with our standard defaults, ready to deploy to Heroku.
Stars: ✭ 3,748 (+4470.73%)
Mutual labels:  rails, template
Generate
A new command line tool and developer framework for scaffolding out GitHub projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.
Stars: ✭ 238 (+190.24%)
Mutual labels:  rails, template
Raygun Rails
Rails 6 application template for Raygun, the Carbon Five Rails application generator.
Stars: ✭ 48 (-41.46%)
Mutual labels:  rails, template
Devextreme Angular Template
Responsive Application Layout Templates​ based on DevExtreme Angular Components
Stars: ✭ 80 (-2.44%)
Mutual labels:  template
Ring Buffer
simple C++11 ring buffer implementation, allocated and evaluated at compile time
Stars: ✭ 80 (-2.44%)
Mutual labels:  template
Karafka
Framework for Apache Kafka based Ruby and Rails applications development.
Stars: ✭ 1,223 (+1391.46%)
Mutual labels:  rails
Formadmin
Modern and responsive theme for Active Admin used by Formaweb.
Stars: ✭ 79 (-3.66%)
Mutual labels:  rails
Classroom
GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
Stars: ✭ 1,243 (+1415.85%)
Mutual labels:  rails
Aura.view
Provides TemplateView and TwoStepView using PHP as the templating language, with support for partials, sections, and helpers.
Stars: ✭ 81 (-1.22%)
Mutual labels:  template
Rails Webpacker
Rails on webpack and yarn with new webpacker gem. Multiple examples using react, vue and angular
Stars: ✭ 80 (-2.44%)
Mutual labels:  rails
Vapor Clean
A Vapor 3 template with no additional cruft.
Stars: ✭ 80 (-2.44%)
Mutual labels:  template
Vue Rails Form Builder
A custom Rails form builder for Vue.js
Stars: ✭ 81 (-1.22%)
Mutual labels:  rails
Vue Demo
Vue.js 示例项目 · 简易留言板。本项目拥有完善的文档说明与注释,让您快速上手 Vue.js 开发 SPA。Webpack / ES6 + Babel / Vue Router / (Vue Resource?) / (Vue Validator?) / (Vuex?) —— An Excellent Vue Starter with Best Practice / 最佳实践
Stars: ✭ 1,225 (+1393.9%)
Mutual labels:  template
Bhf
Rails-Engine-Gem that offers an admin interface for trusted user
Stars: ✭ 81 (-1.22%)
Mutual labels:  rails
Rails Apz
The guide to build a Rails app from a to z.
Stars: ✭ 79 (-3.66%)
Mutual labels:  rails
Middleman Template
The base Middleman application used at thoughtbot, ready to deploy to Netlify.
Stars: ✭ 80 (-2.44%)
Mutual labels:  template
Npm Rails
NPM support for Rails with Bundler-like DSL
Stars: ✭ 81 (-1.22%)
Mutual labels:  rails

docker rails template

Docker template for Rails app or Rails + Webpacker app development.

Use for development

This template use entrykit to execute bundle install on ENTRYPOINT of Docker.

No re-build docker image on changing Gemfile because bundled gems is cached in Docker Volume.

To develop rails app, use following commands.

script/bootstrap
docker-compose exec rails bash

You can execute any commands in docker container.

Getting started

You can build rails app from template like this.

git clone https://github.com/kawasin73/rails_docker_template.git .
git checkout origin/base/ruby-2.5.1-rails-5.2.0
git branch -d master && git checkout -b master
script/init && script/bootstrap

docker-compose up -d
docker-compose exec rails bash
# access to http://localhost:3000

You can also use built app like this.

git clone https://github.com/kawasin73/rails_docker_template.git .
git checkout origin/ruby-2.5.1-rails-5.2.0
git branch -d master && git checkout -b master
script/bootstrap
# initialize credentials.yml.enc
docker-compose run --rm rails bin/rails credentials:edit

docker-compose up -d
docker-compose exec rails bash
# access to http://localhost:3000

Branches

This repository have 4 types of branch, master, webpacker, base, built. If you want start development, Use built branch.

  • master
    • master branch is branch for develop rails app template.
  • webpacker
    • webpacker branch is master branch of rails + webpacker app.

base branch

base/ruby-RUBY_VERSION-rails-RAILS_VERSION branch has only template. base branch have one Initial Commit commit.

Please build application on your local environment.

git clone https://github.com/kawasin73/rails_docker_template.git .
git checkout origin/base/ruby-2.5.1-rails-5.2.0
git branch -d master && git checkout -b master
script/init && script/bootstrap

built branch

ruby-RUBY_VERSION-rails-RAILS_VERSION branch has built application.

Please initialize secrets and start to development.

git clone https://github.com/kawasin73/rails_docker_template.git .
git checkout origin/ruby-2.5.1-rails-5.2.0
git branch -d master && git checkout -b master
script/bootstrap
# initialize credentials.yml.enc
docker-compose run --rm rails bin/rails credentials:edit

License

MIT

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