Giter Site home page Giter Site logo

automatic-blog's Introduction

##SuperMegaUltra Rails App Generator Template!

This app was created using the template located [here](link pending).

###It has the following items pre-configured:

  • Bootstrap 4 and FontAwesome
  • Devise
  • SendGrid
  • friendly_id
  • gritter
  • i18n-tasks
  • Custom scaffold templates
  • Navbar partial and helpers

###What it will do:

  • Install the gems listed above and their dependencies
  • Configure RSPEC with Factory Girl, Warden, and database_cleaner
  • Update the application assets to get bootstrap, FontAwesome, and gritter
  • Update application.rb with generator configuration and locale configuration
  • Update application_controller with locale method
  • Update the application layout to contain a Navbar and the calls to gritter
  • Add helper methods to the application_helper to help edit the navbar, gritter
  • Add initializers for i18n-tasks and sendgrid setup
  • Add locale files for EN and PT with some of the basic tags already translated
  • Run i18n-tasks to capture other i18n-tasks
  • Add generator templates for the scaffold that include locale paths, i18n tags, and some bootstrap styles
  • Modify the scaffold generator, so that new scaffolds will run i18n-tasks at the end to capture the missing i18n tags
  • Add the locale scope to routes.rb
  • runs the first db:create and db:migrate
  • Create a static_pages controller with a home (directed to root_path) and an about page
  • Run the initial Git Commit command, so you start off great with git.

###To-dos for deployment

  1. Make sure to configure email server with the correct url by pasting the following line into production.rb
config.action_mailer.default_url_options = { :host => "<YourURLHere>" }
  1. Go to Heroku and add the SendGrid Add-on and follow the prompts: ..1. Go to Sender Whiz ..2. Choose Integrate using SMTP Relay ..3. Create API key ..4. Verify Integration!

###Using friendly_id Checkout the gem documentation here

automatic-blog's People

Contributors

samgrimm avatar

Watchers

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