0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
Buddy Williams
2746abb5ed
Not starting the frontend is confusing our users so I'm reverting it to it's original state (#4359) 2021-05-14 12:23:14 -04:00
Buddy Williams
c893765973
Docker support on the Apple M1 chip / arm64 (#4024)
* First pass at docker support on the Apple M1 chip

* Added version to libpq-dev so that it passes linter checks; Removed comments
2021-04-19 10:12:02 -04:00
Adrien Brault
89ed4ce864
Fix docker dev environment (#3861)
* Fix docker dev environment

- Use postgres 12 to fix a failing test
- Leverage a yaml anchor to share worker/web services configuration
- Add psql
- Configure psql

* Don't use :cached

* Use Postgres 12 in docker-compose everywhere

* Use postgresql-client-12

* Remove extraneous whitespace

* Clean up dev.Dockerfile

* Clean up EE dev/test docker-compose

* Simplify docker-compose.ch.test.yml

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-04-03 20:41:47 +02:00
Michael Matloka
286287e8e1
Remove IS_DOCKER env var (#3843) 2021-04-01 17:10:00 +02:00
Yakko Majuri
e8332ca16e
update docker compose dev port (#3650) 2021-03-16 16:06:18 +00:00
Shashwat
c97f1fbf91
Fix docker-compose.dev version tags (#1901) 2020-10-16 08:47:47 +01:00
Ahti Kitsik
a8db09a1c2
Pinning the dev Dockerfile PostgreSQL and Redis to the versions used in production. (#1877) 2020-10-14 15:57:57 +02:00
Michael Matloka
49a15e9f53
Enhance and optimize PR GitHub workflows (#1365)
* Enhance and optimize GitHub workflows

* Prettier app.json

* Update YAML list

* Prettier workflows

* Include YAML in prettier runs

* Improve job naming

* Update E2E workflow name

* Prettier docker-compose YAML

* Update workflows

* Put freezegun into prod requirements

* Update workflow names

* Update workflow names again

* Update ci-backend.yml

* Update Lint with flake8

* Remove redundant eslint:ci script

* Revert "Put freezegun into prod requirements"

This reverts commit 460e3942d10194e9f46c8a2196ebd9ecc1f23c6f.

* Install freezegun in workflow and update dev.txt

* Prettier auto-image.yml

* Add "CI" to ci-* names

* Fix prettier:check

* Add missing SECRET_KEY

* Prettier 2 last files
2020-08-18 11:08:40 +02:00
Tim Glaser
bcf427cb55
Webpack HMR, Add hashes to chunk filenames. (#878)
* Closes #877 chunk loading errors

* Closes #877 chunk loading errors

* add chunks to all webpack files, use webpack-html-plugin to make an index.html with the right names

* change to contenthash for better caching

* add dev server on a different port

* store loaded scenes in reducer

* add react-hot-loader

* add react-hot-loader to all code split points

* fix action pages HMR

* ignore cypress screenshots

* generate django login/signup page layout with webpack html plugin

* move to devDependencies

* expose webpack-dev-server ports

* run tests on the production docker image

* start webpack dev server on a custom host if requested

* revert e2e to dev dockerfile

* add test travis config

* add stages

* add travis conf

* cache node and pip

* node 11

* travis ci bump

* node via nvm

* install v12, disable cypress for a moment

* remove 2 commands, test cached build time

* try different yarn cache, add cypress

* add postgres 12

* migrate before cypress

* remove latest postgres for now

* createdb before cypress

* Try different port

* cull packages

* remove hash from main bundle filenames to not break anything

* cypress port 8000

* cypress tests with production docker

* don't use the /code path in e2e test, use docker image

* remove hash from css to work better with editor

* only one export from actions

* remove travis test

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2020-06-02 10:39:53 +01:00
James Greenhill
2fd1bc6377
Optimize event telemetry pipeline (#833)
* Split out celery worker into its own container for easier debugging

* Refactor creating people from events and serialize Team to celery worker

* type fixes

* remove todo message

* use the correct marshal (unmarshal)

* limit to just removing try except for person creation

* switch from count to exists
2020-05-26 20:18:01 +01:00
James Greenhill
8472a8caa9
695-Optimize funnel rendering (#792)
* Deployment to ECS using CloudFormation beta testing

* bug fixes for cloudformation

* bug fixes for cloudformation

* saving before I tear up networking

* logging works

* it works

* remove extra configs

* parameterize the rds instance

* lateral joins for funnel render

* Cleaned up code for testing and review

* debugging tests

* account for users who convert and out of order funnel events

* remove print (:

* Don't trust ORM

* address type errors

* change how scoring is calculated to not be based on index

* feedbacks

* remove unneeded import

* cleanup comment and add types where we can

* comment on django query formatting

* DRY the initial format of query body

* DRY append once base_body to lateral_joins
2020-05-18 17:40:22 +01:00
Raul Gallegos
451da21d05
Closes #476 set trends page as default for users (#656) 2020-04-24 13:25:37 +01:00
Tim Glaser
853bcfaf57
Closes #636 docker for local dev (#638) 2020-04-22 11:12:37 +01:00