A collaboration to build an open-source solution for creating patient-powered research networks.
Make sure you have reviewed and installed any prerequisites.
gem install bundler
This README assumes the following installation directory: /var/www/www.myapnea.org
cd /var/www
git clone https://github.com/myapnea/www.myapnea.org.git
cd www.myapnea.org
bundle install
Install default configuration files for database connection, email server connection, server url, and application name.
ruby lib/initial_setup.rb
bundle exec rake db:migrate RAILS_ENV=production
bundle exec rake assets:precompile RAILS_ENV=production
Edit the /config/application.yml
file it generates, and enter any keys you've gotten from the third party developers. For any service you aren't using, you can leave the lines out.
Run Rails Server (or use Apache or nginx)
rails s
Open a browser and go to: http://localhost:3000
All done!