Skip to content

Commit

Permalink
chore: improve dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarreau committed Dec 20, 2024
1 parent 3651d8b commit f397411
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,11 @@
"Dateonly",
"sessionmaker"
],
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/venv*/**": true,
"**/__pycache__/**": true
},
}
2 changes: 1 addition & 1 deletion src/_example/django/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ COPY ./ /app/

WORKDIR /app/src/_example/django/

RUN /opt/poetry/bin/poetry lock --no-update && /opt/poetry/bin/poetry install --no-cache
RUN /opt/poetry/bin/poetry install --no-cache --no-interaction

# for a bind mount on running repo
VOLUME /app
Expand Down
2 changes: 1 addition & 1 deletion src/_example/django/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
PYTHON_VERSION: 3.11 # 3.11 is default if not set
environment:
# forest related
FOREST_VERIFY_SSL: "False"
FOREST_VERIFY_SSL: False
FOREST_SERVER_URL: 'https://api.development.forestadmin.com'
# django related
DJANGO_SECRET_KEY: "^=k+h&r(f7d+#@3f)%h2xef!zvsn2f5_^ahuo*9v7k^6gk=*ey"
Expand Down

0 comments on commit f397411

Please sign in to comment.