Merge pull request #27 from Sosokker/Sosokker-Update-Readme

Update README.md
This commit is contained in:
Sirin Puenggun 2023-09-10 22:57:59 +07:00 committed by GitHub
commit d6fd968ea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,14 +40,17 @@ python manage.py runserver
***NOTE***
By Default `DEBUG=False` and Django will not load CSS file for you so if you want to apply CSS run this.
By Default `DEBUG=False` and Django will not load Static files for you so if you want to apply CSS run this.
```bash
python manage.py runserver --insecure
```
or set `DEBUG=True`
or do the [collectstatic](https://docs.djangoproject.com/en/4.2/ref/contrib/staticfiles/)
Then connect to [http://127.0.0.1:8000/](http://127.0.0.1:8000/) or [localhost:8000/](localhost:8000/)
----
**Recommend**
You can create virtual environment by using this command before install requirements.txt
@ -78,5 +81,7 @@ All project documents are in the [Project Wiki](https://github.com/Sosokker/ku-p
- [Vision Statement](https://github.com/Sosokker/ku-polls/wiki/Vision-Statement)
- [Requirements](https://github.com/Sosokker/ku-polls/wiki/Requirements)
- [Iteration1](https://github.com/Sosokker/ku-polls/wiki/Iteration-1-Plan)
- [Iteration2](https://github.com/Sosokker/ku-polls/wiki/Iteration-2-Plan)
[django-tutorial](https://docs.djangoproject.com/en/4.2/intro/tutorial01/)