|
|
|
## Deploy maxima
|
|
|
|
|
|
|
|
### Sample maxima-dev.elc.hs-hannover.de
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# go to source directory
|
|
|
|
cd /srv/hsh-maxima
|
|
|
|
|
|
|
|
# stop service goemaxima
|
|
|
|
systemctl stop goemaxima.service
|
|
|
|
|
|
|
|
# update to new version
|
|
|
|
git pull
|
|
|
|
git checkout <new branch>
|
|
|
|
|
|
|
|
# build
|
|
|
|
./hsh-custom-build.sh
|
|
|
|
|
|
|
|
# change goemaxima version
|
|
|
|
vim /etc/systemd/system/goemaxima.service
|
|
|
|
|
|
|
|
# reload and start goemaxima
|
|
|
|
systemctl daemon-reload
|
|
|
|
systemctl start goemaxima
|
|
|
|
systemctl status goemaxima
|
|
|
|
``` |
|
|
|
\ No newline at end of file |