Docker container for the stable version of Sakai v19.
This is forked from hypothesis/sakai-docker.
First, run a Git submodule update to fetch/update the source code for Sakai.
git submodules update --init
To build the Docker image for Sakai and launch containers for Sakai and MySQL, run:
docker-compose up
The first time this command is run the Docker image for Sakai will be built, which can take 10 minutes or more. Additionally when the Sakai starts for the first time it will spend several minutes initializing.
Once the Sakai container image has been built and the container is created, you can access Sakai by browsing to http://localhost:8080/portal.
The default admin user is admin
and the password is admin
.
To test an LTI tool, you will need to:
- Create a new "project site".
- Click "Worksite Setup" in the left navbar
- Click the "Create new site" tab
- Select "Build your own site" => "project site"
- Click "Continue".
- Enter a title for the site and click "Continue".
- On the "Site Tools" page, check the "External Tool" option and click Continue.
- Click "Continue" on the Customize tool instances page
- Click "Continue" on the Project Site Access page
- Click "Create Site" on the confirmation page.
- Select the new site in the list of sites. It should be displayed as active in the tabs at the top.
- Click the "External Tool" link in the left navbar and then click "Edit" to configure it.
- Enter the "Remote Tool URL", and "Remote Tool Key" and "Remote Tool Secret". Check "Send Email Addresses to the External Tool" and "Send Names to the External Tool" then click "Update Options".
Note that you can check "Debug Launch" which will give you the option to see the launch data before launching the tool.
If you have problems building or running the Docker container on macOS, you may need to increase the memory allowance for Docker Engine up from the default of 2GB to 3GB or more.
This can be done in the "Advanced" section of Docker for Mac's Preferences UI.