[Expo-tech] Example of how another club does it..

Philip Sargent (Gmail) philip.sargent at gmail.com
Mon Jul 29 23:06:05 BST 2019


Sorry, I thought that was in Markdown, but actually it's in WikiFormatting
<https://trac.edgewall.org/wiki/WikiFormatting>  and unlike Markdown there
isn't an easy way to read it rendered (unlike Markdown which you can poke at
https://dillinger.io/ )

 

From: Philip Sargent (Gmail) [mailto:philip.sargent at gmail.com] 
Sent: 29 July 2019 22:34
To: 'expo-tech at lists.wookware.org'
Subject: Example of how another club does it..

 

= Setup of the CUYC Website =

 

All paths relative to ''/societies/cuyc'' on srcf.net.

 

== Overview ==

 

''public_html/.htaccess'' contains !RewriteRules leaving requests to the
ServerControl script or the OsTicket system be handled by the  SRCF-global
httpd (port 80), whereas all other requests are forwarded to our internal
Apache (currently running on port 4456).

 

All external python modules are installed in a [http://www.virtualenv.org
virtualenv] (symlink ''myVirtualEnv/'' to the currently used version).

 

== E-mail ==

 

The mail server for the cuyc.org.uk domain is !GoogleMail. Get in touch with
Tom Playford if there are any issues.

 

!GoogleMail has a catch-all inbox, which keeps a copy of all e-mails, and
forwards them to the SRCF.

 

The SRCF processes incoming mail using the ''.forward'' exim script,
delivering the mail to people's personal addresses (based on Club
appointments and committee_email_prefix fields on Member objects).

 

All e-mail forwardings are created by
''cuy/scripts/cron/update_email_addresses.py''.

 

It also adds a special rule for the purser, training, and theoryhelp
addresses, which are delivered to back-up GMail accounts and piped into
[OsTicket osTicket].

 

== File system ==

 

==== Log files

 

Both under ''apache2/logs/'' and ''log/''.

 

''apache2/logs/error_log'' contains Django's stdout (e.g., the output of all
`print` statements in the code). [[BR]]

''log/error.log'' contains http errors.

 

==== Internal Apache

 

Uses mod_wsgi to transfer requests to Trac (all URLs starting with /trac/)
and the Main site (everything else).

 

Directory: apache2/ [[BR]]

Config: apache2/conf/httpd.conf

 

==== Main site

 

Built on Django (kudos to Tom Playford).

 

Now under git version control, and in a github private repository
(https://github.com/CUYC/cuyc-website.git).

 

Directory: cuy/ [[BR]]

Custom python modules: 00.pkgs_not_in_pypi/ [[BR]]

Config: apache2/conf/django.wsgi, cuy/settings.py [[BR]]

Database: SRCF postgresql ('cuyc') [[BR]]

Backup: daily to Tom's server - '''check this is still working after recent
upgrades'''

 

==== Trac - Committee ticket system and Wiki

 

The part of the website you are looking at right now.

 

Directory: cuy/trac/ [[BR]]

Config: cuy/trac/conf/trac.ini, cuy/trac/apache/trac.{wsgi,cgi,fcgi} [[BR]]

Database: sqlite, cuy/trac/db/trac.db [[BR]]

Backup: '''none so far'''

 

==== osTicket - External ticket system

 

See the [OsTicket explanation of our osTicket installation].

 

Directory: public_html/ticket/ [[BR]]

Config: public_html/ticket/include/ost-config.php [[BR]]

Database: SRCF MySQL (currently user gac43's personal one) - '''need to
change''' [[BR]]

Backup: '''none so far'''; copies of all tickets are sent to
{cuycpurser,cuyctraining,cuyctheoryhelp}@gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wookware.org/pipermail/expo-tech/attachments/20190729/5215d516/attachment.html>


More information about the Expo-tech mailing list