GithubHelp home page GithubHelp logo

kaziridwan / posthog.com Goto Github PK

View Code? Open in Web Editor NEW

This project forked from posthog/posthog.com

0.0 1.0 0.0 677.77 MB

Official docs, website, and handbook for PostHog.

Home Page: https://posthog.com

License: Other

JavaScript 49.27% Python 0.17% TypeScript 37.68% CSS 1.50% HTML 2.50% SCSS 8.88%

posthog.com's Introduction

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

  1. Pre-Installation

    Install Node and Yarn.

    npm install --global yarn
  2. 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

    Tip: Seeing a discrepancy between local development and staging/production? Preview the production build locally by running gatsby build && gatsby serve

  3. 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.

If you are using Apple M1 (read this for more):

rm -rf ./node_modules
brew install vips
yarn install

It is also possible to use docker:

docker run -it --rm \
    -w /app -v "$PWD":/app \
    -p 8000-8001:8000-8001 \
    -e INTERNAL_STATUS_PORT=8001 \
    node:14-slim \
    sh -c 'yarn && yarn start'

Working on /docs/api?

  1. Create a personal API key in PostHog
  2. export POSTHOG_APP_API_KEY=key
  3. yarn start

Questions?

posthog.com's People

Contributors

yakkomajuri avatar jamesefhawkins avatar timgl avatar charlescook-ph avatar joethreepwood avatar smallbrownbike avatar corywatilo avatar eltjehelene avatar paolodamico avatar tiina303 avatar andyvan-ph avatar mariusandra avatar twixes avatar guidoiaquinti avatar macobo avatar marcushyett-ph avatar leggetter avatar shehuphd avatar lottiecoxon avatar fuziontech avatar samwinslow avatar edscode avatar simfish85 avatar neilkakkar avatar athreyaanand avatar imgbot[bot] avatar pauldambra avatar seanpackham avatar kpthatsme avatar alexkim205 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.