You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3 - Go inside the folder with requirements.txt, manage.py etc...
cd EventImmediat
4 - Install the dependencies
pip install -r requirements.txt
5 - Create a database in your web server named "event_immediat"
6 - Generate a secret key for the application
Type in a terminal
python manage.py shell
This will open a python shell
Then type those commands :
from django.core.management.utils import get_random_secret_key
print(get_random_secret_key())
The generated key is the new secret key for the application
7 - Create a file named ".env" in the same repository that manage.py, requirements.txt, README.md... then configure the ".env" file with this example :