GithubHelp home page GithubHelp logo

lukewduncan / railroad Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 1.39 MB

A Ruby on Rails template for rapid development. Includes authentication, styling, environment setup, admin portal, payments and more.

Ruby 72.22% JavaScript 4.44% HTML 22.88% SCSS 0.45%
ruby-on-rails rails-template rails6

railroad's Introduction

RailRoad

railroad logo

A Ruby on Rails 6.0 template for fast development. The idea behind the template is faster === better. That's the reason this template uses things like Bootstrap, jQuery and RailsAdmin. The faster you can work on your actual product, the better.

The application is optimized for Heroku deployments so setup includes use of PostgreSQL database, Figaro for storing environment variables, processing background jobs using Redis + Sidekiq and more.

Utilizes

  • Rails 6.0
  • Ruby 2.7.1
  • Puma Webserver
  • PostgreSQL database - ready for Heroku
  • Redis
  • Includes Webpack

Includes

  • Authentication - Devise
  • SCSS + Bootstrap(v4.0)
  • jQuery (v3.5.1)
    • *optional - setup available for React or any other modern front-end framework with Webpack
  • Environment Variable Configuration - Figaro
  • Basic Marketing Website via StaticController
  • Pamyents - Stripe
  • Email - Mailgun
  • Admin Portal - RailsAdmin
  • Image + Document handling - Paperclip + AWS
    • Example within User.rb of how to set up attribute
    • Must have AWS keys within Figaro application.yml file
  • Ability to rename entire app - Rename
  • Background Jobs - Sidekiq

Installation Instructions

  1. Clone or Fork the repo
  2. gem install bundle && bundle install
  3. rake g rename:into new_name will rename your app from railroad to new_name
  4. rake db:create && rake db:migrate to set up and create database including User table
  5. bundle exec figaro install to use Figaro (Example)
  6. To access the RailsAdmin section of site, set the superuser attribute on your user account to true

Working locally

# Start development server
rails s

# For background jobs
redis-server
bundle exec sidekiq

# Start rails console
rails c

railroad's People

Contributors

lukewduncan avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

eashman

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.