Table of Contents
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.
Source
The first stage is to check out the source. This is now kept in Git in the ACCU Gitea system. https://git.accu.org/jim/xaraya-website. It is NOT in any public source, because without a thorough audit I can't be sure that there isn't security-sensitive information in there.
You'll need an account on ACCU Gitea. Currently this does not offer public registration; contact Bob or Jim for an account.
The live system is the deployed
branch.
The database
You will also need a MySQL or MariaDB database. Create a database accuorg_xar
and a user accuorg_xarad
with password p1mpl3
and all rights to the accuorg_xar
database.
mysql> CREATE DATABASE accuorg_xar; mysql> CREATE USER 'accuorg_xarad'@'localhost' IDENTIFIED BY 'pimpl3'; mysql> GRANT ALL ON accuorg_xar.* TO 'accuorg_xarad'@'localhost';
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:
mysql> \. accuorg_xar.sql
Webserver configuration
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:
# chgrp -R www-data var # chmod -R g+w var