The following works on Linux. We should probably verify it on Windows and macOS before adding it to the wiki:
Install Docker:
See https://www.docker.com/
Clone the repository:
$ git clone git@github.com:include-cpp/include-cpp.github.io.git
Make sure the Docker service is running.
Run the site:
$ cd include-cpp.github.io/
$ docker compose up
You should see something like:
include-cppgithubio-web-1 | Server address: http://0.0.0.0:4000
include-cppgithubio-web-1 | Server running... press ctrl-c to stop.
Enter the server address in a browser to see the site running.
Update the site:
Add a title in index.md and save it.
Refresh the site in your browser. You should now see the new title.
The following works on Linux. We should probably verify it on Windows and macOS before adding it to the wiki:
Install Docker:
See https://www.docker.com/
Clone the repository:
$ git clone git@github.com:include-cpp/include-cpp.github.io.git
Make sure the Docker service is running.
Run the site:
$ cd include-cpp.github.io/
$ docker compose up
You should see something like:
include-cppgithubio-web-1 | Server address: http://0.0.0.0:4000
include-cppgithubio-web-1 | Server running... press ctrl-c to stop.
Enter the server address in a browser to see the site running.
Update the site:
Add a title in index.md and save it.
Refresh the site in your browser. You should now see the new title.