Skip to content

Latest commit

 

History

History
executable file
·
68 lines (49 loc) · 3 KB

File metadata and controls

executable file
·
68 lines (49 loc) · 3 KB

CapstoneRemodel

Instructions for environment setup and Laravel 5.6

Useful Commands

Test

Command: "phpunit" under the root directory If the phpunit doesn't work, try "composer global require phpunit/phpunit". Set the phpunit command as the global scope. Test the following features with corresponding commands in command window for your local repository.

Write Resident_Education_Report.yearmonthday.csv into Database

e.g. Insert data from Resident_Education_Report.20180615.csv file into database table, and combine data sets for the next three days.

php artisan educationReport:add 20180615 --process=2018-06-16 --process=2018-06-17 --process=2018-06-18

Check PHP version

php -v (or php -i)

Environment Setup

  • Clone the repository
  • Open git bash or run through terminal the following commands (update database accordingly):
cp .env.example .env
php artisan key:generate
php artisan migrate

NOTES

Code in views/schedules/resident/schedule_basic.blade.php might be different based on the servers.

var url = current_url.search('/filter/') > -1 ? current_url.substr(0, current_url.search('/filter/')) : current_url;
url = url + "/filter/" + doctor_selected + "_" + start_after_selected + "_" + end_before_selected;

Setup OCIO server

  • SFTP: The SFTP button may help you access the server. The instructions on the right provide you the access link.
  • DATABASE: Click on the DATABASE section. Click on phpmyadmin on the right. The username is xgl. And password is xgl. No uppercase.
  • SHELL: Try to acess the shell by Putty. The FastX doesn't work here. You could see the shell link after Dr.Stahl has added you to one of the shell users.

Future extension