-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Django to serve static files in debug mode (#1186)
* Use Django to serve static files in debug mode * clean up volumes; remove local nginx static and media locations * add back /data/media mount * add media back to nginx; same locations as main --------- Co-authored-by: Sal Tijerina <[email protected]>
- Loading branch information
1 parent
aa7e405
commit a6a9fec
Showing
4 changed files
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
# run django dev server as designsafe community account | ||
python -m debugpy --listen 0.0.0.0:5678 manage.py runserver --noasgi 0.0.0.0:8000 | ||
python -m debugpy --listen 0.0.0.0:5678 manage.py runserver 0.0.0.0:8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters