Browse Source
* 'master' of https://git.charlesreid1.com/docker/d-mediawiki: update charlesreid1 config to include jinja templates clarify update charlesreid1-config submodule in d-mediawiki update charlesreid1 config to latest commit add notes on how to upgrade skins bump charlesreid1-config to latest (new navbar)master
2 changed files with 38 additions and 23 deletions
@ -0,0 +1,29 @@
@@ -0,0 +1,29 @@
|
||||
To update the MediaWiki skin: |
||||
|
||||
- See the long angry rant in the Dockerfile |
||||
- You have to rebuild the whole container. Yup, stupid. |
||||
- Rebuild the MW container while the docker pod is still running (won't effect the docker pod) |
||||
- When finished rebuilding the MW container, restart the docker pod. |
||||
|
||||
``` |
||||
# switch to main poddirectory |
||||
cd ../ |
||||
|
||||
# rebuild all containers |
||||
docker-compose build |
||||
|
||||
# restart the pod |
||||
sudo service dockerpod-charlesreid1 restart |
||||
``` |
||||
|
||||
To verify that the skin has correcty been installed, you can check |
||||
the skin file inside the container. First, get a shell in the container: |
||||
|
||||
``` |
||||
docker exec -it podcharlesreid1_stormy_mw_1 /bin/bash |
||||
``` |
||||
|
||||
Once inside the container, the main web directory is `/var/www/html/`, |
||||
so the skins should be in `/var/www/html/skins/`. You can use `cat` to |
||||
print the file to the screen and verify it is correct. |
||||
|
Loading…
Reference in new issue