Skip to content

Commit b026bec

Browse files
authored
Merge pull request #655 from hackforla/develop
Develop into main
2 parents dea51b2 + d7a0a34 commit b026bec

34 files changed

+1604
-749
lines changed

.github/workflows/deploy-stage.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
ECR_REPOSITORY: civic-tech-jobs-fullstack
3636
IMAGE_TAG: dev
3737
run: |
38-
docker pull nmatsui/hello-world-api
39-
docker tag nmatsui/hello-world-api $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
38+
docker build -f ./stage/Dockerfile -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
4039
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
41-
40+

dev/dev.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ POSTGRES_PASSWORD=<same as SQL_PASSWORD>
99
ENVIRON=dev
1010
DEBUG=True
1111
SECRET_KEY=<random string of length 50>
12-
DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]
12+
DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1] django
1313
SQL_ENGINE=django.db.backends.postgresql
1414
SQL_DATABASE=<same as POSTGRES_DB>
1515
SQL_USER=postgres

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ services:
4848
container_name: vite
4949
env_file:
5050
- dev/dev.env
51+
environment:
52+
- VITE_APP_SERVER_URL=django://django:8000
53+
- VITE_APP_CLIENT_URL=vite://vite:5175
5154
ports:
5255
- "5175:5175"
5356
develop:

frontend/eslint.config.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ export default [
2828
"no-console": "warn",
2929
indent: ["error", 2],
3030
"no-irregular-whitespace": "error",
31-
"prettier/prettier": "error",
31+
"prettier/prettier": [
32+
"error",
33+
{
34+
endOfLine: "auto",
35+
},
36+
],
3237
"react/no-unescaped-entities": "off",
3338
"@typescript-eslint/no-unused-vars": ["error"],
3439
"tailwindcss/no-contradicting-classname": "error",

0 commit comments

Comments
 (0)