Skip to content

MD-2016/CapstoneRemodel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 79.7%
  • HTML 20.1%
  • Vue 0.2%