|
@@ -17,30 +17,41 @@ Content `public/`:
|
|
|
|
|
|
## What to update when new campaign starts
|
|
|
|
|
|
-Go to the `public` folder:
|
|
|
+Go to the `public/` folder:
|
|
|
- `recentSQLName.txt`: Change campaign number (auto-initialises new sql table)
|
|
|
- `navbar.html`: Add link to latest brew table to the navigation bar in the `brew` dropdown menu.
|
|
|
-- `checklist.php`: Just search and replace the name of the previous campaign with the name of the current campaign: `KNMx` --> `KNMy`
|
|
|
-- `index.php`: Add new campaign to list of campaigns that should be displayed on start page --> `$Campaigns = ["KNMy", ... , "KNM8", "KNM7", "KNM6"];`
|
|
|
+- `checklist.php`: Just search and replace the name of the previous campaign with the name of the current campaign: `KNMx` → `KNMy`
|
|
|
+- `index.php`: Add new campaign to list of campaigns that should be displayed on start page → `$Campaigns = ["KNMy", ... , "KNM8", "KNM7", "KNM6"];`
|
|
|
|
|
|
## What to update when the KATRIN password changes
|
|
|
|
|
|
- Update salted password in `.htpasswd`
|
|
|
-- Update kdb acess link/password in `checklist.php`. Find and edit `XXX` in kdb link: `"http://katrin:XXX@kdb.kaas.kit.edu/kdb-api.fcgi/json?run&system= ..."`. This line pulls the last run number from kdb.
|
|
|
+- Update kdb acess link/password in `checklist.php`. Find and edit `XXX` in kdb link: <br>`"http://katrin:XXX@kdb.kaas.kit.edu/kdb-api.fcgi/json?run&system= ..."`. <br>This line pulls the last run number from kdb.
|
|
|
|
|
|
## General stuff
|
|
|
|
|
|
The remote template slides can be changed and updated [here](https://docs.google.com/presentation/d/1Fj3TjNkry1fAC94sEvml2LyvrICDhh_e7i75_7pimqk/edit?usp=sharing)
|
|
|
|
|
|
+<hr>
|
|
|
+
|
|
|
You can access/bulid the website on `https://kaas.kit.edu:8443/console/` (only works within kit network). To get the password contact Florian Fränkle.
|
|
|
|
|
|
+<hr>
|
|
|
+
|
|
|
To build and deploy the page go into the `status` project (same level as bora, katrin ...)
|
|
|
-- Build the new page if something is updated. This should happen automatically after every git push. If you need to build it manually, click: `Builds/Builds`-->`remote-shift`-->`Start Build`
|
|
|
-- Deploy the page manually: `Application` --> `Deployments` --> `remote-shift` --> `Deploy`. (This could be changed to some automation method in the future)
|
|
|
+- Build the new page if something is updated. This should happen automatically after every git push. If you need to build it manually, click:
|
|
|
+ * `Builds/Builds` → `remote-shift` → `Start Build`
|
|
|
+- Deploy the page manually:
|
|
|
+ * `Application` → `Deployments` → `remote-shift` → `Deploy`
|
|
|
+ <br> (This could be changed to some automation method in the future)
|
|
|
- Wait some minutes ... Done :)
|
|
|
|
|
|
+<hr>
|
|
|
+
|
|
|
To develop the page locally on your computer, go to the public folder and run:
|
|
|
-``php -S 127.0.0.1:8000``
|
|
|
+
|
|
|
+```php -S 127.0.0.1:8000```
|
|
|
+
|
|
|
then you can access the page in your browser under `http://127.0.0.1:8000`
|
|
|
|
|
|
## What to do if you want to manually change something in the sql database:
|
|
@@ -58,4 +69,4 @@ then you can access the page in your browser under `http://127.0.0.1:8000`
|
|
|
<hr>
|
|
|
|
|
|
Author: Leonard Köllenberger
|
|
|
-Contact: leonard.koellenberger@kit.edu
|
|
|
+<br>Contact: leonard.koellenberger@kit.edu
|