2020-05-19 20:48:10 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
dropdb --if-exists posthog_e2e_test
|
|
|
|
createdb posthog_e2e_test
|
2020-12-11 20:12:52 +01:00
|
|
|
DEBUG=1 DATABASE_URL=postgres://localhost:5432/posthog_e2e_test python manage.py migrate &&
|
|
|
|
DEBUG=1 DATABASE_URL=postgres://localhost:5432/posthog_e2e_test python manage.py setup_dev &
|
|
|
|
yarn add cypress-terminal-report
|
2020-05-19 20:48:10 +02:00
|
|
|
./bin/start-frontend &
|
2020-10-21 11:42:17 +02:00
|
|
|
CYPRESS_BASE_URL=http://localhost:8080 npx cypress open &
|
2020-11-12 15:54:10 +01:00
|
|
|
DEBUG=1 TEST=1 DATABASE_URL=postgres://localhost:5432/posthog_e2e_test python manage.py runserver 8080
|
2020-11-18 20:53:01 +01:00
|
|
|
yarn remove cypress-terminal-report
|