Difference between revisions of "Space.local"

Jump to navigation Jump to search
881 bytes added ,  20:54, 28 October 2014
(Created page with "This is the sudo room gateway. It is located in the sudo room server "room". *External hostname: room.sudoroom.org *Internal hostname (mDNS): meshbuild.local *Internal IP (s...")
Line 42: Line 42:
= web server =
= web server =


nginx is the web server and reverse proxy. It has a few virtual hosts.
nginx is the web server and reverse proxy. It has a few virtual hosts. They are defined in:
 
/etc/nginx/sites-available
 
with symlinks in:
 
/etc/nginx/sites-enabled
 
and files served from:
 
/var/www/<virtual-host-name>


== default (e.g: http://room.sudoroom.org) ==
== default (e.g: http://room.sudoroom.org) ==
Line 51: Line 61:


Our inventory tracking and labelling system. It prints labels on the Brother QL-570 thermal label printer located next to the Type A Machines 3D printer.
Our inventory tracking and labelling system. It prints labels on the Brother QL-570 thermal label printer located next to the Type A Machines 3D printer.
nginx is only reverse-proxying to the labitrack software. The labitrack software is started by:
/etc/init/labitrack.conf
Labitrack is located in:
/opt/labitrack
Labitrack runs on port 8080 and saves its data in a postgresql database. Labitrack has two parts to it: The web app itself and printloop.sh which automatically prints newly created labels on the label printer. Both the web app and printloop.sh are run by the node.js program "forever" which monitors the programs and restarts them automatically if they crash.
The documentation and source code for labitrack is here: https://github.com/sudoroom/labitrack
= postgresql =
Used by labitrack.
= Backup =
WE HAVE NO AUTOMATIC BACKUP OF THIS SERVER. PLEASE FIX!

Navigation menu