Difference between revisions of "Sandbot"

From Media Design: Networked & Lens-Based wiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
   sudo su www-data -s /bin/sh
 
   sudo su www-data -s /bin/sh
 +
 +
 +
Setting up /var/www/html with githook:
 +
 +
  sudo chown www-data /var/www/html
 +
  git remote set-url origin https://git.xpub.nl/XPUB/sandbot.git

Revision as of 18:30, 6 February 2021

Some useful links / notes related to the sandbot setup.

Running something as www-data

 sudo su www-data -s /bin/sh


Setting up /var/www/html with githook:

 sudo chown www-data /var/www/html
 git remote set-url origin https://git.xpub.nl/XPUB/sandbot.git