Skip to content

professor/semat

Repository files navigation

== README

When a delete comes in for a item that is new, that means a mistake was made. Just delete it, don't mark it as delete.

Please feel free to use a different markup language if you do not plan to run rake doc:app.

Installing

$ echo "RACK_ENV=development" >>.env $ echo "PORT=3000" >> .env foreman start

rake assets:precompile RAILS_ENV=production

http://localhost:3000/api/v1/simple_alphas.json

Setup

rake semat:import_alpha_cards

rails console AdminUser.create!(:email => '[email protected]', :password => 'password', :password_confirmation => 'password')

Admin on production

heroku run rails console --app semat git push heroku master heroku pgbackups:capture --expire --app semat heroku run rake db:migrate --app semat

Initialize on production

heroku run rake semat:import_alpha_cards

Console access

heroku run rails console --app semat

Great Tools

http://jsonlint.com/ Excellent Tutorial on Android and Rails: http://lucatironi.github.io/tutorial/2012/10/15/ruby_rails_android_app_authentication_devise_tutorial_part_one/

Quick Reference for helps

version = EssenceVersion.find_by_name('CMU 1.1')

Copy production database to local machine

heroku pg:pull HEROKU_POSTGRESQL_AMBER_URL SEMAT_heroku --app semat

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages