Fontli is a web application that helps designers and Type enthusiasts to discover fonts and great Typography. It also serves as a backend/webservice for the supporting mobile applications.
- Ruby version 1.9.3 (i686-linux)
- RubyGems version 1.8.25
- Rails version 3.2.22.2
- Mongo version 2.6.4
- JavaScript Runtime therubyracer (V8)
- Image Manipulation ImageMagick
###Setup:
bundle install
###Startup:
unicorn_rails -c config/unicorn.rb
OR
rails s
###App Documentation: Go to http://localhost:3000/doc
###Development:
- Make changes and git commit appropriately.
git pull origin master
git push origin master
###Deployment:
cap deploy
###Start push notifications:
./script/apn_sender --environment=development --cert-pass=1234 --verbose start
OR
./script/apn_sender --environment=production --cert-pass=1234 --verbose start
###Start Mailer Daemon:
QUEUE=mailer rake environment resque:work
###Start Resque Web:
RAILS_ENV=production resque-web -L config/initializers/resque.rb