sharp / getviable-open

GetViable Open Source

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GetViable

A Rails application. Features a user and admin system with Facebook login. It is deployable to Heroku.

Gemfile

For testing and development:

Setup

  • Make sure you have rvm and Ruby 1.9.2.
  • Install dependencies from Gemfile: bundle install --path vendor/bundle.
  • Create your config/database.yml, create the database and run the migrations.
  • For Facebook login to work, export environment variables FACEBOOK_APP_ID and FACEBOOK_APP_SECRET.
  • After making questions and populating database it is critical to group sections into stages

Database

  • bundle exec rake db:create
  • bundle exec rake db:migrate
  • bundle exec rake surveyor:questions
  • bundle exec rake db:seed

Tests

  • In order to debug test you can add save_and_open_page call to a line where you would like to show page that is rendered
  • bundle exec spork
  • bundle exec rspec spec/

License

Usage:

  • Render glyph icons in code glyph(:lock, :white) =>
  • Use raw_glyph for rendering inside link_to => link_to raw_glyph(:white) + “Some title”
  • bundle exec rake surveyor FILE=surveys/get_viable_questions_leslie_v3-2-2.rb

Support:

  • This code is now Open Source. It’s free to be used.
  • This code is not actively maintained. But in need of urgent support, please create ticket or send email to office@kolosek.com

About

GetViable Open Source

License:Other