Config Notes

We note the paths where important server files get installed. See also Wiki Admin, Wiki Relocation

If you want to find the location of the node_modules folder on your install, you can use the npm command:

npm list -g --depth=0

The first line of the output from `npm list -g --depth=0` gives you the path to the __project root folder__ (ie the folder that contains the node_modules folder), which for the Atopia Server is:

/root/.nvm/versions/node/v12.16.1/lib

On my older DigitalOcean install for instance I used nvm to install node and therefore the location was:

/root/.nvm/versions/node/v6.11.3/lib/node_modules and the wiki packages are installed further inside: wiki/node_modules

asia.wiki.org

/usr/local/lib/node_modules/wiki -- global install

~/.wiki -- site flat file database

/etc/init/wiki.conf -- upstart script site

/etc/init/wiki.conf.json -- security config

/var/log/upstart/wiki.log -- server log

bay.wiki.org

/usr/lib/node_modules/wiki -- global install

/root/.wiki -- site flat file database

/etc/init/wiki.conf -- upstart script

/etc/init/wiki.conf.json -- security config

/var/log/upstart/wiki.log -- server log

/etc/nginx/sites-enabled/default -- nginx sites

nginx -s reload

# See also

Setup help Firewall help Caddy help