- Django
- DaisyUI
- Python 3.10.X
- PIP 22.3.X
- Create a virtual environment for python (you can use virtualenv, venv, poetry, etc)
nefonfo@nefonfo-pc:~$ virtualenv env
nefonfo@nefonfo-pc:~$ source env/bin/activate
(env) nefonfo@nefonfo-pc:~$
- Install the pip requirements (requirements.txt)
(env) nefonfo@nefonfo-pc:~$ pip install -r requirements.txt
- Create the DB
(env) nefonfo@nefonfo-pc:~$ python manage.py migrate
- Create the Superuser
(env) nefonfo@nefonfo-pc:~$ python manage.py createsuperuser
- Create the RSA private and public key
(env) nefonfo@nefonfo-pc:~$ python manage.py generate_keys
--- KEYS CREATED SUCCESSFULLY ---
- Run server
(env) nefonfo@nefonfo-pc:~$ python manage.py runserver
And that's all... Go to https://localhost:8000 for the app and https://localhost:8000/admin for admin managements.