StudyProgress Dashboard for the University of Amsterdam, 2ndYD
- As the local source code is mounted into the container(s) at runtime, any dependencies should be installed in the local folder:
composer install --ignore-platform-reqs. - If you don't have an
APP_KEYyet you should runphp artisan key:generate --showand add the value to.env.development.local. - Run
composer run docker-buildto build the local Docker images. - Start the development environment with the
docker-compose upcommand. - Optionally, run
composer run docker-migrateandcomposer run docker-seedto prepare your database. - Build the browser bundle:
npm run watch.
By default, the following services are accessible from your browser:
http://localhost:8888http://localhost:8888/apihttp://localhost:8889, phpMyAdmin
docker-compose down will stop the services. Next time, you'll only have to run docker-compose up again to start developing.
- Check out a copy of the repository.
- Build the browser bundle:
npm run prod. - Build the Docker images:
composer run docker-build. - Deploy the production stack:
docker stack deploy --compose-file docker-stack.yml uva-study-progress. - If necessary, run migrate and seed scripts on an
fpmcontainer.
The following roles are used in the application and should be provided by the LTI tool consumer:
- Administrator:
feb_dashboard_admin(was:rens_1) - Study Adviser:
feb_dashboard_studyadviser(was:rens_2) - Student:
urn:lti:role:ims/lis/Learner
For Canvas LMS, an XML is available for easily integrating the tool at /lti/canvas.xml.
In general, the following LTI parameters are required:
- Launch URL:
https://path.to.tool/lti/launch. - Custom parameter**:
custom_student_numbershould provide a unique, display-friendly student identifier.
Optional parameters:
- Custom parameter**:
custom_role_membershipprovides a way to override standard LTI roles. Useful when a tool consumer / LMS doesn't support the required roles.
** Note: Blackboard LMS seems to automatically prefix custom parameters with custom_.
Most tool consumers will automatically provide all other parameters necessary. The LTI documentation can be consulted for instructions on creating a complete request.