Difference between revisions of "Taking the Wiki Offline"

From DFN Wiki
Jump to: navigation, search
(Tag: visualeditor)
Line 1: Line 1:
 
# Install mwoffliner: https://github.com/openzim/mwoffliner
 
# Install mwoffliner: https://github.com/openzim/mwoffliner
 
# Modify the <code>Unix socket</code> section of the redis-server config (<code>/etc/redis/redis.conf</code>) so that the unix socket is created and has the correct permissions.
 
# Modify the <code>Unix socket</code> section of the redis-server config (<code>/etc/redis/redis.conf</code>) so that the unix socket is created and has the correct permissions.
 
 
  unixsoxket /dev/shm/redis.sock
 
  unixsoxket /dev/shm/redis.sock
 
  unixsocketperm 777
 
  unixsocketperm 777
 
+
# Run mwoffliner
#  
+
mwoffliner --mwUrl=https://wiki.dfn.net.au --adminEmail=-adminEmail=foo@bar.net --mwApiPath=/api.php --mwWikiPath=/ --mwModulePath=/load.php
 
 
#
 

Revision as of 14:58, 10 April 2019

  1. Install mwoffliner: https://github.com/openzim/mwoffliner
  2. Modify the Unix socket section of the redis-server config (/etc/redis/redis.conf) so that the unix socket is created and has the correct permissions.
unixsoxket /dev/shm/redis.sock
unixsocketperm 777
  1. Run mwoffliner
mwoffliner --mwUrl=https://wiki.dfn.net.au --adminEmail=-adminEmail=foo@bar.net --mwApiPath=/api.php --mwWikiPath=/ --mwModulePath=/load.php