Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.21 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.21 KB

CodeFactor

Quick and dirty guide to our Web-Git

  • checkout this repository

  • change/add stuff there

  • commit changes to Git

  • in a terminal shell, download a snapshot of the current website with the following command:

    wget https://github.com/exult/exult-web/archive/master.zip
    
  • transfer the file over to Exult web space with

    scp master.zip [email protected]:/home/project-web/exult
    
  • create interactive shell session:

    ssh -t USER,[email protected] create
    
  • change dir to our webspace:

    cd /home/project-web/exult
    
  • update the webspace with:

    ./update.sh
    

This script updates /home/project-web/exult/htdocs with latest Git version, and sets up the correct permissions for all files.

For efficiency reasons, htdocs is a symbolic link to exult-web-master directory.

If you need to modify the update.sh script, modify it in git and it will copy itself over.

Please do not edit the webspace directly.