User Tools

Site Tools


hosting:websitesource

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hosting:websitesource [2018/08/21 12:44] – created jimhosting:websitesource [2023/03/13 15:10] (current) jim
Line 1: Line 1:
-====== Website source and setting up from scratch ======+====== Old website source and setting up from scratch ======
  
 Should you need to set up the website from scratch, either to restore operation or to create your own private copy for development, this is how to go about it. Should you need to set up the website from scratch, either to restore operation or to create your own private copy for development, this is how to go about it.
Line 21: Line 21:
 </code> </code>
  
-The next stage is to load the database content. You need a copy of the latest backup from ''/archive/backups/mysql/accuorg_xar.sql.gz'' on ''dennis'. Ungzip it and source it:+The next stage is to load the database content. You need a copy of the latest backup from ''/archive/backups/mysql/accuorg_xar.sql.gz'' on ''dennis''. Ungzip it and source it:
  
 <code sql> <code sql>
Line 30: Line 30:
  
 We use Apache (on Debian Stable) to serve the live site, but there's no particular reason that you can't use anything else. You will also need PHP 5.6. We use Apache (on Debian Stable) to serve the live site, but there's no particular reason that you can't use anything else. You will also need PHP 5.6.
 +
 +The site code assumes that it is at the root of the domain being served, and that it is being served over HTTPS.
 +
 +===== Other configuration =====
 +
 +You will need to make the ''var'' directory writable by the webserver process. For Debian, I do this:
 +
 +<code bash>
 +# chgrp -R www-data var
 +# chmod -R g+w var
 +</code>
 +
hosting/websitesource.1534855446.txt.gz · Last modified: 2018/08/21 12:44 by jim