Coder Social home page Coder Social logo

twarl's Introduction

Skellington app - Simple boilerplate app with social login

I needed a simple starting point app for prototyping facebook/twitter app. It doesn't have a lot of bells and whistles, mostly just followed the Railscasts on Devise (user auth) and Omniauth (third party auth).

Feel free to fork this project for your own projects.

See a demo:

Config

To create a new app, simply fork this repo!

Copy config/app_config.EXAMPLE.yml to config/app_config.yml, and populate with your own third-party API keys. Also, remove app_config.yml from the .gitignore file in the project root, and check it in. You'll need it versioned when you go to deploy.

Add extra config lines to config/app_config.yml for your own settings and access them using APP_CONFIG[:some_setting]

Remove services you don't need from views/authentications.html.erb

Postgres is a required gem for Heroku (assuming you'll be deploying to heroku, at least for prototypes). If you don't want the "pg" gem installed locally (or in my case it errors), use this command to install bundle gems locally without it: bundle install --without production

Oh and use ruby 1.9.2 (if don't use it already, look at RVM)

Deploy

Article on deploying rails 3 apps to Heroku:

Something like:

  1. "heroku create yourappname --stack cedar"
  2. Add yourappname.herokuapp.com URL to config/app_config.yml and config/environments/production.rb
  3. git push heroku master
  4. heroku run rake db:migrate --trace
  5. heroku open

Stuff used

Twitter Bootstrap (Frontend toolkit)

Go here and be amazed:

Devise (Rails 3 friendly user auth)

Read this:

Watch this:

Omniauth (Third party auth)

Read this:

Watch these:

Hipster Ipsum

The name says it all:

Skull clipart

Pillaged from:

twarl's People

Stargazers

Daniel Morris avatar

Watchers

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