User:Dereckson/Devserver: Difference between revisions

From Nasqueron Agora
(Created page with "== Activites == === Zed === tail -n 100 -f /var/log/www/dereckson.be/zed51-php.log == Staging area for development web applications == === Zed === 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...")
 
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
== Staging area for development web applications ==
== Staging area for development web applications ==
=== Zed ===
=== Zed ===
'''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