Previewing changes to / Editing the hulks.de / rohow.de webiste is fairly simple:
- Clone either hulks.de or rohow.de:
- hulks.de:
git clone [email protected]:HULKs/hulks.github.io.git
- rohow.de:
git clone [email protected]:RHOrga/rhorga.github.io.git
(special access rights required)
- hulks.de:
- Install
docker
anddocker-compose
:sudo pacman -S docker docker-compose
sudo gpasswd -a <<USERNAME>> docker
- Logout & login again to apply group changes.
- start the docker service (systemd:
systemctl start docker.service
, to enable it during boot:systemctl enable docker.service
)
- cd to the cloned repository and execute
docker-compose up
- go to
http://0.0.0.0:4000
within your browser. The website should be displayed there.
You can now make changes. Once you saved a file it will be automatically updated on the local website (reload the page in the browser).
- commit
- push to master
- ???
- Profit