This git repository contains the source code for the refactored HTCondor website.If you want to learn more about HTCondor, visit the website itself.
The HTCondor website is implemented in Jekyll. We've provided a Docker image which contains all the necessary libraries to build the website and preview it in a web browser.
Grab the htcondor/web image from our Docker Hub:
docker pull dockerreg.chtc.wisc.edu:443/htcondor/web
At the website root:
docker run -it -p 8002:8000 -v $PWD:/app -w /app ruby:2.7 /bin/bash
This will utilize the latest Jekyll version and map port 8000
to your host. Within the container, a small HTTP server can be started with the following command:
bundle install
bundle exec jekyll serve --watch --config _config.yml -H 0.0.0.0 -P 8000
If you would like to preview your branch or test it with the website production build you have the option now.
To create a preview branch:
- Prepend the name of your branch with "preview-"
- Example: "preview-helloworld"
- Push this branch to https://github.com/htcondor/htcondor-web.git
- Check for your preview branch @ https://htcondor.com/web-preview/\
- You can monitor the preview branch build here ( time to complete is typically ~20 minutes ) -> https://github.com/htcondor/web-preview/actions
- When you merge in the branch or no longer need it, delete the branch and Github will delete the web preview
This is a great way to demo your changes to others easily.
❗ New workflow is live making master the production branch.
- Submit a pull request with website updates to the
master
branch (the default) and request a review. - If the PR is approved you can merge into master.
- Check that your intended changes populate at htcondor.org