posthog icon indicating copy to clipboard operation
posthog copied to clipboard

chore(dev): Add Flox for local environment setup

Open Twixes opened this issue 1 year ago • 2 comments

Problem

To get started developing PostHog, you have to install a bunch of dependencies and run a series of commands from the Developing locally guide. What if there was a faster, multiplatform way?

Changes

Flox (brew install flox) is a take on this problem. This PR adds a Flox manifest for the PostHog local environment, after which you only need to run flox activate to quickly get a working, isolated environment.

This is a proof of concept that should be tried out during actual onboarding.

Caveat: Fish is not natively supported yet, but it can still be used by replacing flox activate with SHELL=bash flox activate -- fish.

Twixes avatar Apr 22 '24 09:04 Twixes

Size Change: -56 B (-0.01%)

Total Size: 1.06 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 1.06 MB -56 B (-0.01%)

compressed-size-action

github-actions[bot] avatar Apr 22 '24 09:04 github-actions[bot]

This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in another week.

posthog-bot avatar Apr 30 '24 07:04 posthog-bot

This PR was closed due to lack of activity. Feel free to reopen if it's still relevant.

posthog-bot avatar May 07 '24 07:05 posthog-bot

This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in another week.

posthog-bot avatar Jun 20 '24 07:06 posthog-bot

This PR was closed due to lack of activity. Feel free to reopen if it's still relevant.

posthog-bot avatar Jun 28 '24 07:06 posthog-bot