Coder Social home page Coder Social logo

shimada-toy-box / instant_rails Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jasonswett/instant_rails

0.0 0.0 0.0 42 KB

https://www.codewithjason.com/instant-rails/

License: MIT License

Dockerfile 7.78% Shell 8.02% Ruby 78.93% HTML 0.56% SCSS 2.40% JavaScript 2.30%

instant_rails's Introduction

What Instant Rails is

Instant Rails is a Rails application template that comes with certain common tools, like Devise and RSpec, pre-installed.

Instant Rails is a special kind of Rails application template. Instant Rails will generate your application inside of a Docker container so that you don't even need to have Ruby, Rails, PostgreSQL or anything else installed on your computer in order to generate a Rails app.

Why I created Instant Rails

I have a relatively frequent need to create "throwaway" Rails apps for educational purposes. I created Instant Rails to help me with two problems:

  1. Even though it's not that much work to create a new Rails application, it's still too tedious to do all the Rails project initialization work every time I want a new project.
  2. For students, it's often too hard for them to get my projects set up on their computer (especially, often, the PostgreSQL-related parts).

A Dockerized application template helps solve both these problems.

How to use Instant Rails

Prerequisites

In order to use Instant Rails, you must have Docker installed.

Usage instructions

First, clone the repo.

git clone https://github.com/jasonswett/instant_rails.git
cd instant_rails

Then run the init.sh script.

./init.sh your_app_name

This script will create a Rails application and start a Rails server.

Once the script finishes, you can visit localhost:3001 (note that the port is 3001, not 3000) and see your app running.

Get help

To get help, just open an issue or email me at [email protected].

Acknowledgements

This project was inspired in part by Mike Rogers' Docker/Rails template.

instant_rails's People

Contributors

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