This repository contains the website for the GI-DQA (Gradient Inversion of Document Question Answering) project.
There are several ways to run this website locally:
If you have Node.js installed:
- Clone this repository
- Run the server:
node server.js - Open your browser and navigate to: http://localhost:3000/docs/
If you prefer Python:
# Python 3 python -m http.server # Python 2 python -m SimpleHTTPServerThen open your browser and navigate to: http://localhost:8000/docs/
You can use any static file server of your choice, just point it to the docs directory.
This website is designed to be easily deployed to GitHub Pages:
- Go to your repository settings
- Navigate to "Pages" in the sidebar
- Under "Source", select either:
- "Deploy from a branch" and choose your main branch
- Or "GitHub Actions" for more advanced workflows
- Make sure the root directory is selected (not /docs)
- Save your changes
If you're seeing a 404 error on GitHub Pages:
- Ensure your repository is public
- Check that GitHub Pages is enabled in repository settings
- Verify the correct branch is selected as the source
- Wait a few minutes for changes to propagate
- Make sure index.html exists in the root or configured directory
- Check the GitHub Pages URL format: username.github.io/repository-name/