Giter Site home page Giter Site logo

murphymeng / posthog.com Goto Github PK

View Code? Open in Web Editor NEW

This project forked from posthog/posthog.com

0.0 0.0 0.0 534.87 MB

Official docs, website, and handbook for PostHog.

Home Page: https://posthog.com

License: Other

JavaScript 39.66% SCSS 11.41% TypeScript 44.07% Python 0.21% CSS 1.51% HTML 3.14%

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'

Questions?

posthog.com's People

Contributors

yakkomajuri avatar jamesefhawkins avatar timgl avatar charlescook-ph avatar eltjehelene avatar smallbrownbike avatar paolodamico avatar corywatilo avatar joethreepwood avatar mariusandra avatar tiina303 avatar twixes avatar leggetter avatar shehuphd avatar samwinslow avatar edscode avatar fuziontech avatar macobo avatar marcushyett-ph avatar athreyaanand avatar imgbot[bot] avatar guidoiaquinti avatar seanpackham avatar lottiecoxon avatar kpthatsme avatar berntgl avatar neilkakkar avatar fakela avatar chidexebere avatar marcopchen 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.