This is the repository for the PostHog website, which includes our Docs and Handbook.
Please feel free to suggest any changes. See our contributing guide for more information.
-
Pre-Installation
npm install --global yarn
-
Start Developing
Clone the repo then navigate into your new site’s directory, install the site dependencies, and start it up.
cd posthog.com/ yarn yarn start
-
Open the Source Code and Start Editing!
Your site is now running at
http://localhost:8000
!Note: You'll also see a second link:
http://localhost:8000/___graphql
. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.