Simple repository to enjoy the week of the Python and Django with TreinaWeb. To know more details follow this link: https://lp.treinaweb.com.br/python
Creating the virtual environment for this project:
$ python -m venv python_treinaweb_venv$ source python_treinaweb_venv/bin/activate # Linux or macOS
$ source python_treinaweb_venv/Scripts/activate # WindowsTo disable the virtualenv just run:
$ deactivateThis will install Django on your virtualenv:
$ pip install Django==2.2.4With Django installed, follow this commands:
$ mkdir python-treinaweb && cd python-treinaweb
$ django-admin startproject task_manager
$ python manage.py startapp app$ cd task_manager
$ python manager.py runserverto install mysqlclient sudo apt-get install python-dev default-libmysqlclient-dev