Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hsh-maxima
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
hsh-maxima
Commits
879be013
Commit
879be013
authored
3 years ago
by
Lennart Kramer
Browse files
Options
Downloads
Patches
Plain Diff
add documentation on updating to new stackmaxima versions
parent
d3ff3bd2
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/Adding_new_version.md
+23
-0
23 additions, 0 deletions
doc/Adding_new_version.md
with
23 additions
and
0 deletions
doc/Adding_new_version.md
0 → 100644
+
23
−
0
View file @
879be013
Adding a new stackmaxima version
--------------------------------
The maxima instances depend on libraries specific to the stack version being used.
The library files are stored in the
`stack`
directory in this repository.
When updating
`goemaxima`
to use a new version, the following has to be done:
*
Get the commit of the
[
moodle repository
](
https://github.com/maths/moodle-qtype_stack
)
corresponding to the wanted version.
The libraries will be found in in the /stack/maxima directory.
*
Create a new directory in /stack of this repository named after the stackmaxima version number.
The version number can be found at the bottom of the file
`moodle-qtype_stack/stack/maxima/stackmaxima.mac`
.
*
Copy the whole
`maxima`
directory unchanged into the new directory.
*
In the moodle instance running the new stack version, go to the healthcheck site of the stack plugin
and copy the generated maxima configuration file into the new version dir as
`maximalocal.mac.template`
.
Make sure the correct maxima version is selected.
*
Replace the site specific library, log, tmp and plot path with
`${LIB}`
,
`${LOG}`
,
`${TMP}`
and
`${PLOT}`
.
*
Comment out the
`load("stackmaxima.mac)`
at the end of the file.
*
Add a line for the new version to the
`versions`
file in the top of the repository.
*
Update the default version in the
`docker-compose.yml`
.
*
Run
`./build.sh`
to build the new image.
It will be available as
`goemaxima:$version-dev`
.
*
Test the image with the moodle instance (for example using the answer-test script).
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment