A web application made for Software Engineering 2 class at UofM.
Android Project: https://github.com/joshsimard/COMP4350-Android.git
For our document handins for all iterations, check the corresponding iteration folder in the documentation directory.
Setup:
- Download Composer to the directory where the project was cloned
- From terminal, run composer.phar install
- Download mysql. if downloaded, create a database "Doctor_Client_Portal"
- From terminal, run php artisan migrate:install
- From terminal, run php artisan migrate:refresh --seed
- After these steps, database should be seeded
- create a new file called .env and add it to the project. A sample .envexample is given
- put in the name of the database, user, and password for mysql
- After these, run form terminal php artisan key:generate 10.Lastly, run "php artisan serve" to run Nginx Server
TO RUN THE INTEGRATION AND UNIT TESTS:
- CD into the project main directory.
- Seed the database (creates default users) by using the command: php artisan migrate:refresh --seed * NOTE: You must do this everytime you want to run the tests (currently).
- Now run the tests with the command: vendor/bin/phpunit
TO RUN SELENIUM TESTS:
- Download and install Chrome browser if you do not already have it: https://www.google.com/chrome/browser/desktop/
- Download Chromedriver: http://chromedriver.storage.googleapis.com/index.html?path=2.21/
- Run the Chrome driver
- Enter the url (This will test the website on AWS): http://localhost:8000/tests
LINK TO PROJECT ON AWS: http://ec2-52-32-93-246.us-west-2.compute.amazonaws.com