Skip to content

rcolinkennedy/smedium

Repository files navigation

#smedium Simple app using Omniauth-twitter to sign in with Twitter and create a user when necessary. Requires email address for user to register completely, and sends notificaiton to that email address when settings are updated.

Inspired by the signin process currently implemented at medium.com

Use case is as a very barebones, lightweight starting point for projects. Goal was to have something as simple and easy to extend as possible, with some tradeoffs in styling and functionality in favor of ease/speed of implementation and customization.

Getting Started

  • Ruby 2.0.0, Rails 4.0.1

System dependencies

  • gem omniauth-twitter (https://github.com/arunagw/omniauth-twitter)
  • uses gem figaro to handle keys as environment variables for Twitter Keys, Mandrill settings, and Analytics ID's (https://github.com/laserlemon/figaro)
  • currently set up for Mandrill SMTP for transactional email
  • this configuration is set up for local and test environments to use SQLITE and deployment to Heroku using PostgreSQL
  • Note: for simplicity and speed, smedium we built with the latest HTML5 standards, and no effort was invested into browser compatability. Things break in older versions of IE.

Examples

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Comment and test your code.

Authors

License

Licensed under the MIT license.