Skip to content

bcgov/sabc-dashboard

Repository files navigation

sabc-dashboard

Build Status Total Downloads Latest Stable Version License

About StudentAidBC Dashboard

The StudentAidBC Dashboard is a web application built on the Laravel framework. Laravel features common tasks used in many web projects, such as:

BC Services Certificates

Files must be uploaded via ftp to the directory /config/certs/ and only PROD and UAT use SSL certificates.

  • pem cert (private key) is only used to decode SAML payload coming from BC Services (apply to UAT/PROD only)
  • public cert received from BC Services is not used
  • use the apache user to access the directory
  • change permissions on the directory 'chmod 777 certs'
  • upload the files
  • change permissions back to 755 'chmod 755 certs'
  • change/replace only the cert file after receiving it from BC Services. Keep the .pem
  • please refer to BC Services SSL Certificate

VUE files updates

Any updates happen to any of the vue files the following commands must be used:

- for PROD: uncomment MIX_APP_ENV from .env file then run 'php artisan config:clear' and 'npm run prod'

- for DEV/UAT: npm run dev

Then commit all the changes and push to the repo.

#NPM commands Initial install for packages.json: npm install Install to latest version: npm install [package]@latest Update to latest version: npm update [package]@latest

Install a specific version of npm (downgrade/upgrade) globally: npm install npm@[version number] -g

Uninstall package: npm uninstall [package] View version: npm view [package] version

Uninstall package globally: npm uninstall -g [package]

Extra Info:

  • To lock the dashboard for maintenance use the command 'php artisan down secret="whateverSecretYouLike"
  • Any visitor to the dashboard will get the under maintenance page
  • To override that for testing go to https://studentaidbc.ca/dashboard/whateverSecretYouLike this will grant the current user access to the dashboard
  • To bring the dashboard back on use the command 'php artisan up'

Learning Laravel

Read Laravel documentation.

Watch videos on Laracasts.

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published