-
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.