Skip to content

Commit f7973fc

Browse files
committed
Update deps to work with latest redis
1 parent 90d14d7 commit f7973fc

File tree

9 files changed

+27
-18
lines changed

9 files changed

+27
-18
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,5 @@ types.tsx
112112

113113

114114
.terraform/
115+
116+
.vercel

backend/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run-server:
2-
poetry run uvicorn pycon_quiz.asgi:application --reload
2+
poetry run uvicorn pycon_quiz.asgi:application --port 8100 --reload
33

44
run-worker:
55
poetry run python manage.py rqworker

backend/poetry.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ pytest-django = "^3.9.0"
2525
django-storages = "^1.9.1"
2626
boto3 = "^1.13.15"
2727
Pillow = "^7.1.2"
28-
django-rq = "^2.3.2"
28+
django-rq = "^2.4.1"
2929
rq-scheduler = "^0.10.0"
3030
sentry-sdk = "^0.14.4"
3131
hashids = "^1.2.0"
3232
strawberry-graphql = "^0.61.3"
33+
rq = "^1.8.0"
3334

3435
[tool.poetry.dev-dependencies]
3536
black = "^19.10b0"

frontend/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.env.local
22

3-
.now
3+
.now
4+
.vercel

frontend/codegen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
schema: https://d2x84vjkgthxda.cloudfront.net/graphql
1+
schema: ${API_URL}
22
documents: ./src/**/*.graphql
33
generates:
44
./src/types.tsx:

frontend/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@
77
"dev": "next",
88
"build": "yarn run codegen && next build",
99
"start": "next start",
10-
"codegen": "graphql-codegen"
10+
"codegen": "DOTENV_CONFIG_PATH=../.env graphql-codegen -r dotenv/config"
1111
},
1212
"dependencies": {
1313
"@emotion/core": "^10.0.28",
1414
"@urql/devtools": "^2.0.2",
1515
"@urql/exchange-graphcache": "^2.4.2",
1616
"@xstate/react": "^0.8.1",
17+
"dotenv": "^9.0.2",
1718
"graphql": "^15.0.0",
1819
"next": "^9.3.5",
1920
"react": "^16.13.1",

frontend/src/utils/get-graphql-url.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
export const getGraphQLUrl = () =>
2-
`${process.env.NEXT_PUBLIC_BACKEND_URL}/graphql`;
1+
export const getGraphQLUrl = () => process.env.NEXT_PUBLIC_API_URL;

frontend/yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3574,6 +3574,11 @@ dotenv@^4.0.0:
35743574
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-4.0.0.tgz#864ef1379aced55ce6f95debecdce179f7a0cd1d"
35753575
integrity sha1-hk7xN5rO1Vzm+V3r7NzhefegzR0=
35763576

3577+
dotenv@^9.0.2:
3578+
version "9.0.2"
3579+
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-9.0.2.tgz#dacc20160935a37dea6364aa1bef819fb9b6ab05"
3580+
integrity sha512-I9OvvrHp4pIARv4+x9iuewrWycX6CcZtoAu1XrzPxc5UygMJXJZYmBsynku8IkrJwgypE5DGNjDPmPRhDCptUg==
3581+
35773582
duplexify@^3.4.2, duplexify@^3.6.0:
35783583
version "3.7.1"
35793584
resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309"

0 commit comments

Comments
 (0)