- python v3.10.5 (recommended version)
- django v4.0.6 (python module)
- watchdog v2.1.9 (python module)
- transliterate v1.10.2 (python module)
git clone git@github.com:SeRj-ThuramS/template-django-application.gitRemember that for each OS you need to create a separate environment
python -m venv venv_{win64|win32|linux}.\venv_{win64|win32}\Scripts\activatesource venv_linux/bin/activatepip install django==4.0.6 watchdog==2.1.9 transliterate==1.10.2python -m pip install --upgrade pipdeactivatepython main.py --name name_project --migrate models --debug ...--name <name_project> - the name of the project is given. This is a required parameter
--migrate - run the migration of DJANGO models to the database. The folder with DJANGO models is specified. Example --migrate models, --migrate src.models
--debug - run in development mode. This mode ensures that the application is restarted after saving changes in the project files. It is not recommended to use this mode for release applications.
... - means that you can specify your options like "--src script --src1 script ...". (--src, --src1) - path to the package. (script, script1) - executable module