0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 17:24:15 +01:00
posthog/bin/start-frontend
Yakko Majuri 3b8d328c10
Allow passing in token to Personal API Key requests (#5044)
* Allow passing in token to Personal API Key requests

* fix

* fix accidental commit

* update comment

* dont access self.request.user.team if not needed

* add tests

* Add an assert to make mypy happy

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-07-16 10:35:56 -03:00

8 lines
143 B
Bash
Executable File

#!/bin/bash
set -e
# pass first argument to WEBPACK_HOT_RELOAD_HOST
[ $# -ge 1 ] && export WEBPACK_HOT_RELOAD_HOST=$1
yarn install
yarn start