diff --git a/README.md b/README.md index d834529..e1d3075 100644 --- a/README.md +++ b/README.md @@ -25,20 +25,18 @@ This line shoul be towards the end of the file, e.g. AFTER the %sudo line if you have one. -``` -Test by switching user to www-data: +> Test by switching user to www-data: su -s /bin/bash www-data cd /var/www/html php bin/run-bu-by-id.php 19 0 where 19 is the backup id and 0/1 is not-test/test -``` + Comment out /inc/secure.php in post_handler.php if the login is not required ### Project directory structure -```sh - +
 backup-commander
 └─html			All web code. You can create a symlink to this directory for your web-server
   ├─bin			Binary scripts runnable via bash. This directory is NOT served
@@ -48,21 +46,14 @@
   ├─data		All data files. This directory is NOT served
   └─js  		All JS files
 └─install	Install and update scripts
+
-``` TODO: - create an install script: -- currently all manually done - - First version on Las-server - Pre-requesite to push onto pearcey.net - Generate a database schema with default login - add the sudo entry for www-data (or other webserver user) - kick off the schedule runner at the install stage - - create the schedule runner in php. simple polling of the DB + update install script to ask questions to fill in details for conf.php + get passwords from BD create a user credential page: new user+password