[UPDT] Adding 'manage.py collectstatic' in documentation (#242)

This commit is contained in:
Guillaume Chanaud
2024-07-09 07:06:11 +02:00
committed by GitHub
parent bc4f27bafe
commit 41c04042c3
2 changed files with 7 additions and 0 deletions

3
.gitignore vendored
View File

@@ -137,6 +137,9 @@ dmypy.json
# media file
media/
#collected static files
staticfiles/
#node_modules
node_modules/

View File

@@ -155,6 +155,10 @@ Enter the details asked for creating the admin user for the project.
python manage.py compilemessages
```
6. Collect all the static files in the 'settings.STATIC_ROOT' directory (your_project/staticfiles/ by default). In production, you should serve this directory directly by your webserver.
```bash
python manage.py collectstatic
7. Running the project
To run the project locally, execute the following command: