There are almost 30,000 files in docs/
(29,790 as of 2022-01-06). This means
that a comprehensive review of all files changed in a pull request is often
unfeasible (both because of the time required and GitHub's inability to deal
with pull requests with that many files). The instructions below provide a way
to spot check large pull requests by using Docker and emblematic files.
See the README.md
for additional information on this repository,
the CC Legal Tools namespace, and definitions of terms.
- The GitHub CLI makes interacting with pull requests locally much easier:
- Manual | GitHub CLI
- gh pr | Manual | GitHub CLI - Work with GitHub pull requests.
- Checking out pull requests locally - GitHub Docs describes how
to use
git
to checkout a pull request locally
The following files represent the different types of files generated by various Django views of the creativecommons/cc-legal-tools-app. The URLs below assume you are running the Docker services, documented below, for this repository:
You can use Docker to locally view the files of a specific branch or pull request. Note that CC Staff do not use Windows for development and additional steps may be required on that platform.
- Install Docker Desktop
- Ensure you are the top level of directory of this repository (where the
docker-compose.yml
file is) - Build the containers
docker compose build
- Run the containers
docker compose up
- static (127.0.0.1:8007): a static web
server serving the
docs/
directory
- static (127.0.0.1:8007): a static web
server serving the