User:Dereckson/Devserver

From Nasqueron Agora

Activites

Zed

tail -n 100 -f /var/log/www/dereckson.be/zed51-php.log

Staging area for development web applications

Zed

Note. Keruald is currently symlinked from the monorepo to vendor/keruald.

To recreate Zed staging area:

   $ cd /var/dataroot/zed/content
   $ git init .
   $ git config --global --add safe.directory /var/dataroot/zed/content
   $ git remote add origin git@github.com:hypership/content.git
   $ git fetch --all
   $ git reset --hard origin/main
   $ git clone git@github.com:hypership/content_users.git users
   
   $ sudo -u web-be-dereckson-zed51 mkdir /var/dataroot/zed/cache/sessions
   $ sudo mkdir -p /var/dataroot/zed/content/users/_photos/tn
   $ sudo chown -R web-be-dereckson-zed51:dereckson /var/dataroot/zed/content/users/_photos
   $ sudo chmod 771 /var/dataroot/zed/content/users/_photos /var/dataroot/zed/content/users/_photos/tn
   
   $ mkdir -p /home/dereckson/dev/zed/hypership
   $ cd /home/dereckson/dev/zed/hypership
   $ ln -s /var/dataroot/zed/content
   

Note: Zed currently not defined in wwwroot-51 in rOPS, should be done for /var/51-wwwroot/zed