Giter Site home page Giter Site logo

davincios / posthog.com---fork Goto Github PK

View Code? Open in Web Editor NEW

This project forked from posthog/posthog.com

0.0 1.0 0.0 665.48 MB

Official docs, website, and handbook for PostHog.

Home Page: https://posthog.com

License: Other

JavaScript 49.05% Python 0.17% TypeScript 37.85% CSS 1.50% HTML 2.51% SCSS 8.92%

posthog.com---fork'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---fork's People

Contributors

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

Watchers

 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.