Coder Social home page Coder Social logo

rails_fresh's Introduction

Rails - Hot, Fresh Out of the Box

Rails apps can get pretty cluttered with custom changes to application and test configuration - or sometimes rails just changes the defaults it ships with, and the upgrades to the apps don't reflect those changes well.

Rails Fresh is intended to take away the guesswork around what is convention, and what was configuration.

Structure

Rails Fresh intends to support a few main paths, with this folder structure:

  • The specific version of rails in the format of fresh_major_minor_patch, as in fresh_5_1_2
  • There will always (probably) be the most recent major + minor + patch version as a top level
  • There is no guarantee that previous minor or patch versions will be preserved (but likely not removed, because why?)
  • Under the folder of rails version, specific types of installs:
    • Default
    • Api
    • React
    • Rspec

So the structure is something like this:

  • fresh_5_0_1
    • default
    • api
    • react
    • rspec
  • fresh_5_1_2
    • default
    • api
    • react
    • rspec

This will very likely expand to include things like Angular, etc. The point of the top level is to tell the user,

Here is what rails new will get you, with minimal change from the developer

And the subdirectories tell the user,

Here is what the setup of this gem is like using the instructions from the gem's readme, with minimal change from the developer

Note that there is a chance that the developer (me) has changed the setup. This is very unlikely with Rails itself, because it values convention over configuration so strongly, but some gems provide multiple paths of setup. In these cases, the main concern is always, "What is the most likely scenario for setup?" I am unsure that this caveat is even necessary, so it may be removed in the future to provide a more stable idea of what is being committed (since that is kind of the point).

rails_fresh's People

Contributors

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