master
ansible-tmc
For now just documentation on what is running on TMC and how it is setup. Eventually a playbook.
git cloned:
- https://github.com/ajpatri/hackerMath.git - ln -s [path]/hackerMath/static/* /var/www/math/
- https://github.com/bryfry/chronos_trigger.git - ln -s [path]/chronos_trigger/* /var/www/ct/
- https://github.com/bryfry/shadow-man - see hugo setup
- https://github.com/bryfry/shadow-quiz - see shadow quiz setup
nginx config:
server {
listen 80 default_server;
root /var/www;
server_name _;
location / {
try_files $uri $uri/ =404;
}
location /man/ {
proxy_pass http://localhost:8888/man/;
}
}
hugo setup:
- startup command in screen:
hugo server -b "http://trustme.click/man" --bind 0.0.0.0 --port 8888 --appendPort=false - shadow-man repo is checked out into [hugo path]/content
- hugo config is in this project (config.yml)
- hugo-material-docs theme in [hugo path]/themes
- TODO setup a supervisord to start/stop/reload this daemon