User:Dereckson/Devserver: Difference between revisions
From Nasqueron Agora
No edit summary |
|||
Line 6: | Line 6: | ||
=== Zed === | === Zed === | ||
'''Keruald is symlinked from the monorepo to vendor/keruald.''' | '''Note. Keruald is currently symlinked from the monorepo to vendor/keruald.''' | ||
To recreate Zed staging area: | To recreate Zed staging area: |
Latest revision as of 22:51, 14 June 2023
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