Site
System Administration
Networking
Miscellaneous
Site
System Administration
Networking
Miscellaneous
useradd -d /home/tiddlywiki -m tiddlywiki su - tiddlywiki npm install tiddlywiki node_modules/.bin/tiddlywiki adyxax.org --init server
Add the following to /etc/rc.local and run those commands :
su - tiddlywiki -c '/usr/bin/tiddlywiki /home/tiddlywiki/wiki.adyxax.org --server 8080 $:/core/save/all text/plain text/html "" "" 0.0.0.0' & iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 10.1.0.200:8080
node_modules/.bin/tiddlywiki adyxax.org --rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html static text/plain node_modules/.bin/tiddlywiki adyxax.org --rendertiddler $:/core/templates/static.template.html static.html text/plain node_modules/.bin/tiddlywiki adyxax.org --rendertiddler $:/core/templates/static.template.css static/static.css text/plain