themagician.cc/Makefile

7 lines
296 B
Makefile

serve:
python -m http.server
publish:
rsync --delete --recursive * root@themagician.cc:/var/www/themagician.cc/html/
ssh root@themagician.cc 'chown -R www:www /var/www/themagician.cc/html/'
ssh root@themagician.cc 'chcon -vR system_u:object_r:httpd_sys_content_t:s0 /var/www/themagician.cc/'