This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
web_page_editing [2015/11/24 19:33] fowlkes [Updating the live site] |
web_page_editing [2016/11/27 16:29] (current) rdiazgar [Regenerate the static pages] |
||
---|---|---|---|
Line 39: | Line 39: | ||
If you see errors when running the script, feel free to try to fix them yourself or bug Bailey. | If you see errors when running the script, feel free to try to fix them yourself or bug Bailey. | ||
+ | |||
+ | Make sure your version of lxml and pybtex are up to date using the python pip tool. | ||
===== Commit your changes ===== | ===== Commit your changes ===== | ||
Line 54: | Line 56: | ||
---- | ---- | ||
- | Temporary new recipie | + | New recipie |
<code> | <code> | ||
- | # first checkout the latest version from git and modify file permissions | ||
- | cd /extra/fowlkes0/vision.ics | ||
- | git checkout . | ||
- | git pull | ||
- | find public_html/ -type f -print -exec chmod a+r {} \; | ||
- | find public_html/ -type d -print -exec chmod a+rx {} \; | ||
- | find public_html/ -type f -print -name "*.html" -exec chmod a+rx {} \; | ||
- | chmod 644 public_html/.htaccess | ||
- | |||
- | # sync over into vision account | ||
gsu vision | gsu vision | ||
- | cd /extra/vision0 | + | cd /extra/vision0/vision.ics/ |
- | rsync -av /extra/fowlkes0/vision.ics/public_html/ public_html/ | + | git pull |
+ | cd /extra/vision0/ | ||
+ | rsync -rv /extra/vision0/vision.ics/public_html/ /extra/vision0/public_html/ | ||
+ | find /extra/vision0/public_html/ -type f -print -exec chmod a+r {} \; | ||
+ | find /extra/vision0/public_html/ -type d -print -exec chmod a+rx {} \; | ||
+ | find /extra/vision0/public_html/ -type f -print -name "*.html" -exec chmod a+rx {} \; | ||
+ | chmod 644 /extra/vision0/public_html/.htaccess | ||
+ | cd /extra/vision0/vision.ics/ | ||
</code> | </code> | ||