666even666 / cbvxstem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Background Information

  • CvbXStem is a growing stem cell treatment clinic. This project would consist of creating a website that would have a patient portal, for patients to contact their doctors through the portal (link to email or WhatsApp) and have access to any important forms they need to fill in. Then, we would need the admin portal, where admins/doctors could have access to all patient’s treatment information, be able to track a patient’s treatment process and be able to update it, send reminder emails or send forms to be completed.

Link to Archor Post for Information

Build Status

TravisCI and CodeClimate badges

This repo is the "original" repo. This repo was then forked to a "Downstream" repo by a different team member; the downstream repo has this repo as the upstream. TravisCI and CodeClimate are set up with respect to what is in the downstream repo. In order to update the CodeClimate and TravisCI badges, you need to go to the downstream repo and pull from the upstream repo using git pull upstream master. Apologies for any confusion.

Notice: Enabling email notifications

  • To enable email notifications, you may need to change the security setting of the admin email to avoid the Net::SMTPAuthenticationError. First, go to https://myaccount.google.com/lesssecureapps to allow less secure apps. If that doesn't work, go to http://www.google.com/accounts/DisplayUnlockCaptcha and click continue. This will grant access for 10 minutes for registering new apps.
  • The admin email address and password can be found in db/seeds.rb, config/environments/production.rb, and config/environments/development.rb (below config.action_mailer.smtp_settings). If you want to change the admin email, then you need to change all these fields correspondingly, as well as the email address shown on the Contact page (app\views\pages\contact.html.erb), and the email address receiving contacts (app\controllers\users\messages_controller.rb-> create-> @message.receiver_email).

Tests

Currently there are a great number of accessibility tests that have been commented out because they rely on geckodriver, which can be found here: https://github.com/mozilla/geckodriver/releases

In order to make these tests run, first download the appropriate geckodriver file for your computer. Then you will need to move the geckodriver file into the correct path; for most Mac users, this is under usr/local/bin. Once geckodriver has been moved to the correct location, tests should be able to run smoothly.

Note: as far as we can tell, geckodriver accessibility tests are not supported by TravisCI. Please be aware.

About


Languages

Language:Ruby 71.7%Language:HTML 23.4%Language:CSS 3.0%Language:Gherkin 1.0%Language:CoffeeScript 0.6%Language:JavaScript 0.3%