how to fix
This commit is contained in:
65
fetsite/how_to_fix.md
Normal file
65
fetsite/how_to_fix.md
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
title: "Kleiner Fix ohne eig. Testserver"
|
||||||
|
|
||||||
|
Clone das Master Repository und wechsle auf den *Branch latest*.
|
||||||
|
<pre>
|
||||||
|
git -c http.sslVerify=false clone https://git.triton.fet.at/git/fetsite.git
|
||||||
|
cd fetsite
|
||||||
|
git checkout latest
|
||||||
|
git pull origin latest
|
||||||
|
</pre>
|
||||||
|
Login Daten sind der FET Login (LDAP), beachte es ist ein einziges Repository nicht je User ein eigenes.
|
||||||
|
|
||||||
|
Wähle den *Richtigen* Texteditor um den Quellcode zu bearbeiten:
|
||||||
|
Als Beispiel wird die Zeit geändert mit der die Infoscreen Slides wechseln:
|
||||||
|
|
||||||
|
<pre>emacs app/views/home/infoscreen.html.erb
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
<code>
|
||||||
|
<script>
|
||||||
|
$(function () {
|
||||||
|
...
|
||||||
|
...
|
||||||
|
...
|
||||||
|
setTimeout(function(){
|
||||||
|
|
||||||
|
window.location.reload();
|
||||||
|
/* or window.location = window.location.href; */
|
||||||
|
|
||||||
|
}, 100000);
|
||||||
|
...
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</code>
|
||||||
|
</pre>
|
||||||
|
Ändere den Timeout von 100000 zu 70000 (ms).
|
||||||
|
<pre>
|
||||||
|
<code>
|
||||||
|
<script>
|
||||||
|
$(function () {
|
||||||
|
...
|
||||||
|
...
|
||||||
|
...
|
||||||
|
setTimeout(function(){
|
||||||
|
|
||||||
|
window.location.reload();
|
||||||
|
/* or window.location = window.location.href; */
|
||||||
|
|
||||||
|
}, 70000);
|
||||||
|
...
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</code>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<pre>git add app/views/home/infoscreen.html.erb
|
||||||
|
git commit -m "change timeout for inforscreen"
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<pre>git push origin latest</pre>
|
||||||
|
|
||||||
|
gehe zu "testrby.triton.fet.at/conf"
|
||||||
|
und klicke auf **update_testrby (1 MAL !!!)**
|
||||||
|
Dieser Befehl zieht den Quellcode auf den Testserver und startet den Server neu. Bitte einfach bisschen warten.
|
||||||
|
|
||||||
Reference in New Issue
Block a user