Git Product home page Git Product logo

rails-quickstart's Introduction

Rails Quickstart

Auto-generated skeleton of a Ruby on Rails app

Ruby 2.6 Rails 6 License: MIT

Preview

Sample screenshot

Use this template

Generate a new project

Create a new project using the rails command. If you have that installed either with gem (global) or bundler (project).

$ rails new blog

For resources, see my Rails guide.

Installation

Install system dependencies

Install Ruby and Bundler - see instructions in gist.

Clone

$ git clone [email protected]:MichaelCurrin/rails-quickstart.git
$ cd rails-quickstart

Install project dependencies

$ bundle config set --local path vendor/bundle
$ bundle install

Set up app

Note: I don't know what all the setup steps are - the new command failed and I had to remove the cache and then run webpack again - see issue. The Rails

Run rake COMMAND rather than bundle exec rails COMMAND.

rake --tasks

Example tasks:

$ rake webpacker:install
$ rake db:migrate

Usage

A few steps to get started. The Rails docs will be more comprehensive.

Start dev server

$ rake server

Open in the browser:

Run tests

$ rake test

License

Released under MIT.

This repo is mostly based on the quickstart app that comes with Rails. I've customizes with a README.md file.

rails-quickstart's People

Contributors

michaelcurrin avatar

Watchers

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