OpenSSL
Python 3.8+
Django 4.2
$ python3 -m venv .venv
- In windows
$ .\.venv\Scripts\activate
- In Linux
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ cp .env.example .env
Edit .env
file.
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py createsuperuser
Check the OpenSSL
:
$ openssl version
If you have OpenSSL 3.1+
version you are fine.
If OpenSSL
is not installed on your computer install it:
- Debian/Linux
$ sudo apt install openssl
- In Windows: Official OpenSSL download page
$ python manage.py runserver