Giter Club home page Giter Club logo

mina-ansible's Introduction

rails-sample-app

This is an accompanying repository for Efficient Rails DevOps, my book about provisioning Rails servers and deploying applications with Ansible.

It holds basic Ruby on Rails applications for educational and testing purposes.

Every branch of this repository contains 3 commits (and is named after the Rails version that was used to create it):

  • The first commit is a basic Rails application created with the rails new . command (tagged as x.x.x-base).
  • The second commit adds a basic customer scaffold created with rails generate scaffold customer name:string:uniq.
  • The third commit adds a basic product scaffold created with rails generate scaffold product name:string:uniq (because my book needs something to deploy after the initial application has been setup).

There are only minor differences to a "real" repository:

  • The master.key file is included (by editing the app's .gitignore file) to allow editing of the credentials.yml.enc file.
  • The Puma dependency has been moved into the development and test groups. A Rails application should not incriminate itself with how it is served in production.
  • The sqlite3 gem has been moved into the group :development, :test do block and a :production group has been added, requiring the mysql2 or pg gem (depending on whether you use the *-mariadb or *-postgresql branch).

Only future versions of Rails will be added if a new version is available when I update the book. Of course you are welcome to use this repository for other purposes, whenever you need a basic Rails app (no branches will be removed).

mina-ansible's People

Contributors

rajakuraemas avatar

Watchers

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