media.ccc.de:deployment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
media.ccc.de:deployment [2016/12/18 10:10] – created mazdermindmedia.ccc.de:deployment [2019/01/26 11:54] andi
Line 20: Line 20:
 # Deployment durchführen # Deployment durchführen
 bundle exec cap production deploy bundle exec cap production deploy
 +</code>
  
 +Nach dem Deployment kann es sein, dass man mindestens 10 Minuten warten muss, bis alle Änderungen durch die Caches sind.
 +
 +== Im Notfall: Cache flushen
 +Sollte nach 10 Minuten immernoch keine Änderungerung festzustellen sein *ist dies ein bug*, also bitte Issue aufmachen bzw. dort kommentieren: https://github.com/voc/voctoweb/issues/381
 +
 +Und den Cache manuell treten:
 +<code>
 # Cache flushen # Cache flushen
-ssh media@app.media.ccc.de 'redis-cli flushall'+ssh app.media.ccc.de 'redis-cli flushall; sudo rm /srv/media/media-site/cache/*'
 </code> </code>
- 
  • media.ccc.de/deployment.txt
  • Last modified: 2024/03/29 18:13
  • by andi