fitafy is a fitness app that helps PTs get, keep and manage clients.
- Server side: Ruby on Rails
- Client side: Coffeescript
- xcode
- Mac OS X
- Homebrew
- Github
- RVM
- Ruby >=1.9.3-p194
- Ruby on Rails >= 3.1+
- Git
brew install git - Postgres >= 9.1.3+
brew install postgres - Redis >= 2.6.7
brew install redis - node >= 0.8.4
brew install node - phantomjs
brew install phantomjs - Heroku toolbelt
cd fitafy- RVM should ask you if you wish to trust the .rvmrc file -
ythen hit return - Install all the gems
bundle install - Create the Postgres database
rake create:db - Run the database migrations
rake db:migrate && rake db:test:prepare - If you want some seed data
rake db:seed - Fire up the server
rails s
-
Run integration tests:
cucumber
-
Run unit tests:
guardwill run & watch rspec & jasmine tests- You can also run each seperatley:
rake rspecrake jasmine
-
Run all tests:
rake test
rake deploy- Let the tests run
- Follow the instructions