Skip to content
Snippets Groups Projects
Commit 88889a02 authored by vand's avatar vand
Browse files

Update README.md

parent 473d8422
Branches
No related tags found
No related merge requests found
# coursepage02508
To change the live version, files need to be placed at `/www/docs/courses/02508`. For example, in command line, you can use ssh or sftp to connect to server and transfer files. For easier transfer, we could clone this repo, and then pull the changes. But as long as it's only one `index.html` file, we can just copy that one file.
## Publishing
To change the live version, you need to place files at `/www/docs/courses/02508`. For example, in command line, you can use ssh or sftp to connect to server `thinlinc.compute.dtu.dk` then navigate to `/www/docs/courses/02508` and transfer files. Steps to achieve this are:
The steps to achieve this are:
```
ssh thinlinc.compute.dtu.dk
```
You will be asked to type your pasword.
```
# You will be asked to type your password.
cd /www/docs/courses/02508
curl -o index.html https://lab.compute.dtu.dk/courses-0250-8-and-9/coursepage02508/-/raw/main/index.html
```
Known issues: when transfering files, the capitalization of filenames may be inconsistend. E.g. a file named Coal.png will not be changed to coal.png, only the file content is changed, and the link will appear broken.
Known issues: when transfering files, the capitalization of filenames may be inconsistend. E.g. localy changing `Image.png` to `image.png` will remotely only change the content, not the filename, and the link will appear broken.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment