PostHog.com - Docs, Website, and Handbook
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.
Quick Start
-
Pre-Installation
Install Node and GatsbyJS. GatsbyJS needs to be installed globally (see command below).
npm install -g gatsby-cli
-
Start Developing
Clone the repo then navigate into your new site’s directory and start it up.
cd posthog.com/ yarn install gatsby develop
-
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.