# Setting up your environment to work on GitHub Docs

Learn about running the GitHub Docs site locally or in GitHub Codespaces.

## Links

* [Working on GitHub Docs in a codespace](/en/enterprise-server@3.22/contributing/setting-up-your-environment-to-work-on-github-docs/working-on-github-docs-in-a-codespace)

  You can use GitHub Codespaces to work on documentation for GitHub Docs.

* [Creating a local environment](/en/enterprise-server@3.22/contributing/setting-up-your-environment-to-work-on-github-docs/creating-a-local-environment)

  You can run the GitHub Docs application locally on your computer.

* [Troubleshooting your environment](/en/enterprise-server@3.22/contributing/setting-up-your-environment-to-work-on-github-docs/troubleshooting-your-environment)

  Learn about troubleshooting problems in your local environment and the GitHub Docs staging platform.