- Get GitHub Access: Contact the current website maintainer to get an invitation to the qmcuhk GitHub organization.
- Accept the Invitation: Check your email and accept the collaboration invitation for the
qmcuhk.github.iorepository. - Clone the Repository: Clone the website repo to your local computer:
Remember the folder path - you'll need it when registering in the app!git clone https://github.com/qmcuhk/qmcuhk.github.io.git
Download
Download QMCUHK Updater v1.0.0Requires Python 3.8 or higher
Installation
Make sure you have Python 3.8 or higher installed. Download from python.org if needed.
Verify installation:
python3 --version
Open Terminal, navigate to where you downloaded the .whl file, then run:
pip3 install qmcuhk_updater-1.0.0-py3-none-any.whl
This will automatically install all dependencies (PyQt5, requests, PyYAML).
Alternatively, you can use a virtual environment if you prefer to keep packages isolated.
qmcuhk
The GUI will launch! You can run this command anytime from any folder.
First Time Setup
- When the app launches, click "Register" to create your user profile.
- Enter your username (your name).
- Optionally enter your GitHub username.
- Click "Browse" and select the folder where you cloned
qmcuhk.github.io. - Click OK to register and login.
Next time you open the app, just select your name and click Login.
What Can You Do?
Watch the video tutorial on YouTube for step-by-step instructions.
Usage Tips
Adding Publications
You can import paper info automatically! Just paste a DOI or arXiv ID (e.g., 2303.02865) and click "Fetch".
After Making Changes
The app modifies files in your local repo. To publish changes to the website:
cd /path/to/qmcuhk.github.io
git add .
git commit -m "Update website"
git push
Changes will appear on qmcuhk.github.io within a few minutes.
Running the App Later
Just open Terminal and type:
qmcuhk
That's it! The command works from anywhere.
Troubleshooting
Command not found: qmcuhk
Make sure the installation completed successfully. Try running pip3 install qmcuhk_updater-1.0.0-py3-none-any.whl again. You may need to restart your terminal.
Invalid Folder Error
The app expects the website folder to contain: _members, _data, _pages, _notes, assets. Make sure you selected the correct folder.
Need Help?
Contact the previous maintainer or check the repository documentation.