Git Product home page Git Product logo

wagon_rails's Introduction

Wagon Rails

Gem Version

Wagon Rails is the base Rails application used by Le Wagon's students during the 9-week FullStack bootcamp. It's the scripted version of lewagon/rails-kickoff where you would manually copy/paste commands to achieve the same result with just one command line.

Installation

First install the wagon_rails gem:

$ gem install wagon_rails

Then run:

$ cd ~/code/YOUR_GITHUB_NICKNAME
$ wagon_rails new YOUR_PROJECT_NAME

This will create a Rails app in YOUR_PROJECT_NAME using the latest version of Rails, create a GitHub repository and an application on Heroku.

Advanced usages

If you don't want to create a GitHub repo, use the --skip-github flag, and if you don't want to create an Heroku app, use the --skip-heroku flag.

$ wagon_rails new YOUR_PROJECT_NAME --skip-github --skip-heroku

Dependencies

This gem suppose that you have Postgresql on your computer. Check out lewagon/setup

For the GitHub repo creation, it assumes you have the hub gem installed.

$ gem install hub

And for the Heroku app creation, it assumes that you have the heroku binary and are logged in (heroku login).

$ brew install heroku
$ heroku login

Gemfile

To see the latest and greatest gems, look at WagonRails' Gemfile, which will be appended to the default generated projectname/Gemfile.

It includes application gems like:

  • Postgres for access to the Postgres database
  • Figaro for environment variables and configuration management.
  • Simple Form for form markup and style
  • High Voltage for static pages
  • Devise for user authentication
  • Paperclip for file attachment and S3 upload.
  • Bootstrap to jump start the design with a solid responsive grid and basic UI components.
  • Font Awesome to get a nice iconography

And development gems like:

And production gems for a ready-to-deploy app on Heroku.

WagonRails, when the --skip-heroku flag is not used, will add a deploy script to the bin repository. Simply deploy with:

$ deploy  # git push heroku + rake db:migrate + restart

Option

You can enable Pundit for user authorization, open the Gemfile, uncomment the pundit gem. Then:

$ bundle install
$ rails g pundit:install

Credits

WagonRails is a fork of thoughtbot/suspenders, which is maintained and funded by thoughtbot, inc.

Thank you guys for creating this gem in the first place!

wagon_rails's People

Contributors

ssaunier avatar cveneziani avatar papillard avatar

Stargazers

 avatar Luay avatar M Haidar Hanif avatar Vincent REHM avatar Edouard Winia avatar Samir El Maoujoudi avatar Romain Sartorius avatar Dmitry Silaev avatar JB Beck avatar Antoine Magny avatar Alex Sellam avatar Julien avatar JeanRemy avatar Boutayna avatar  avatar Alex Cordani avatar Katalina avatar Ke li avatar Marco Le Foll avatar Austris avatar charles-e avatar Chenu Martin avatar Romain Paillard avatar bwl473 avatar Kevin ROBERT avatar Amelie Beurrier avatar Sébastien Le Moan avatar Jean-Brice Moutout avatar Sophia Kc. avatar Jean Hamant avatar Cédric M. avatar Valentin Chaput avatar Jean-Edern Lorillon avatar Sonia Prévost avatar Fabien Pardo avatar  avatar

Watchers

Xavier Defrang avatar  avatar Sylvain Peigney avatar Martin Van Aken avatar James Cloos avatar Gabriel Dehan avatar Lien Van Den Steen avatar  avatar Anne Collet avatar Romain Paillard avatar Edward Schults avatar Guillaume Morin avatar Malik El Khoury avatar  avatar

wagon_rails's Issues

Deux javascript include tags dans layout

Hello,

Sur la page application.html.erb, il y a 2 <%= javascript_include_tag 'application' %> un en haut et un en bas ce qui fait capoter le js.

Je le dis aux autres sur slack.

xx
Sonia

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.