The new home of the ThreadR Forum Engine
 
 
 
 
 
Go to file
Erik c37f225b6e „content/login/redirect.php“ ändern 2020-02-19 10:05:03 +01:00
content „content/login/redirect.php“ ändern 2020-02-19 10:05:03 +01:00
README.md updated readme to include information on variables 2020-02-19 04:18:32 +01:00
admin.php improved readability 2020-02-17 01:58:11 +01:00
commands_ondemand.conf improved readability 2020-02-12 06:02:49 +01:00
commands_status.conf added commands to display the end of the deployment log files 2020-02-19 04:00:37 +01:00
default.html duplicated redirect page and changed paths to %CONTENT_DIR% 2020-02-19 04:07:26 +01:00
deployment-script.sh another fix.... 2020-02-19 04:40:40 +01:00
icon.png Initial commit of various files 2020-01-02 12:33:49 +01:00
index.html duplicated redirect page and changed paths to %CONTENT_DIR% 2020-02-19 04:07:26 +01:00
strassenkind.php replaced some paths with variables 2020-02-19 03:49:30 +01:00

README.md

Git based automatic web deployment system

This repository will be automagically pulled by the web server each time something is pushed by a user.

The following files and directories are linked to areas where they can be accessed by the web server:

  • index.html*/common/index.html (the website as seen by the majority of the users, maybe a login page?)
  • icon.png*/common/icon.png (self-explanatory)
  • stylesheet.css*/common/stylesheet.css (self-explanatory)
  • content/*/common/content/ (everything else acessible by the web server)
  • default.htmllostcave.ddnss.de/index.html (http redirect)
  • admin.phpadmin.strassenkind.ip/index.php (future management page, maybe for services, available sites, users, etc?)
  • strassenkind.phpstrassenkind.ip/index.php (future status page)
  • commands_status.confstrassenkind.ip/commands_status.conf
  • commands_ondemand.confstrassenkind.ip/commands_ondemand.conf

Variables handled by the deployment script

Here is the place for variables that will be replaced automatically on the server. Using them is encouraged. Using the paths is DISCOURAGED. This way, it is possible to change folder names around and fix the URLs in one place for all files simultaneously.

Some server variables that might turn out to be useful (example):

{ "HTTP_USER_AGENT":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0", "REMOTE_ADDR":"10.1.1.3" }