summaryrefslogtreecommitdiffstats
path: root/README.txt
diff options
context:
space:
mode:
authorPhilip Sargent (oconee) <philip.sargent@gmail.com>2022-10-27 12:30:59 +0100
committerPhilip Sargent (oconee) <philip.sargent@gmail.com>2022-10-27 12:30:59 +0100
commit275ce87e30a805ecccc97efd3dd2b90a867b1bbb (patch)
treef3ced2af58765c00a152e15dbe6fc776abdca6ea /README.txt
parentd9ed90b729161dd17cc91b04e703a5373b4dcb0d (diff)
downloadtroggle-275ce87e30a805ecccc97efd3dd2b90a867b1bbb.tar.gz
troggle-275ce87e30a805ecccc97efd3dd2b90a867b1bbb.tar.bz2
troggle-275ce87e30a805ecccc97efd3dd2b90a867b1bbb.zip
OS config for a new dev machine
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt17
1 files changed, 8 insertions, 9 deletions
diff --git a/README.txt b/README.txt
index 98fb019..53e0a38 100644
--- a/README.txt
+++ b/README.txt
@@ -1,4 +1,4 @@
-Updated 19 February 2022
+Updated 27 October 2022
Troggle is an application for caving expedition data management,
originally created for use on Cambridge University Caving Club (CUCC)expeditions
@@ -59,10 +59,14 @@ Conventionally on our main master expo server we install everything that we can
[venv description removed - read it in http://expo.survex.com/handbook/troggle/troglaptop.html ]
+READ the os-trog.sh script !
+READ the venv-trog.sh script !
+
+
Automatic Provisioning and Configuration
----------------------------------------
We don't do this - yet.
-We don't even have a bash script.
+
The most appropriate configuration tools today (2021) appear to be Bolt or Ansible
https://puppet.com/docs/bolt/latest/bolt.html (declarative, local)
https://docs.ansible.com/ansible/latest/user_guide/intro_getting_started.html (procedural, remote)
@@ -147,19 +151,14 @@ these permissions are set in a different 'info' database which usually is untouc
PERMISSIONS
https://linuxize.com/post/usermod-command-in-linux/
-THIS MAY BE OUT OF DATE - in 2022 we are running Apache as user 'expo'
-
-sudo usermod -a expo www-data
-adds expo to the www-data group which is what the webserver uses, and thus so the user troggle is acting as when running live.
+THIS MAY BE OUT OF DATE - in 2022 we are running Apache as user 'expo' not 'www-data'
-So all the /loser/ .svx files need to have permissions like this (664)
--rw-rw-r-- expo www-data
so that the online editing system for SVX files works.
The same goes for /expoweb/ files, so that "edit this page" works and the New Cave
and New Entrance forms work.
sudo usermod -a expo expocvs
-the expocvs group is used for git & hg
+the expocvs group is used for git
all the users should be in this group