The repository publishes the document archive to the Github Pages website, providing a quick start for new members of CGRG.
- Install git from the official website.
- Open a terminal (Git Bash, Windows PowerShell, Command Prompt, etc.) and change the current working directory to your desired directory.
For example
cd replace-your-desired-dir-herecd D:\dir-where-doc-archive-is-stored
If you are using the Command Prompt in Windows, you may need to change to a different drive with
cd /d replace-your-desired-dir-here. - Clone the repository with the following command.
git clone --recursive https://github.com/CGRG-lab/doc-archive.git
- Go to Repository downloaded section and follow the instructions.
- Open a terminal (Git Bash, Windows PowerShell, Command Prompt, etc.) and change the current working directory to
doc-archivedirectory. - Use
git pullto update the remote repository version to the local. - Open
File Explorerand browse thedoc-archivefolder. Then double-clickserve_locally.batto serve the hugo locally. - After a successful serve, you will see the
cmd.exewindow displayYou can use a web browser to link to http://localhost:1313/doc-archive/.... lots of messages ... Web Server is available at http://localhost:1313/doc-archive/ (bind address 127.0.0.1) Press Ctrl+C to stop - Edit files in
doc-archive/content. Changes to the file will also change the local web page you are serving. - Press Ctrl+C in the
cmd.exewindow to terminate the server.
- Open a terminal (Git Bash, Windows PowerShell, Command Prompt, etc.) and change the current working directory to
doc-archivedirectory. - Use
git pullto update the remote repository version to the local. - Use
git add .to add all changed file contents to the index. - Use
git commit -m "your commit message"to commit changes. For example,git commit -m "Update config.toml" - Use
git pushto update remote repository on github.