- Pycharm
- Python3.9
- SQLite Studio Server
Installing the Project :: Create the virtual environments using python -m venv environment_name Install the required packages mentioned in the requirements folder pip install -r requirements/requirements.txt
- Populate DB using below commands:
- python manage.py makemigrations
- python manage.py migrate
- Start server using below command:
- python manage.py runserver
- Create a free send grid account
- Generate the API key and template for sending the mail
- For security purposes use the decouple to keep the credentials
- To avoid commit python compiled files(.pyc) files please add these into .gitignore file *.pyc
- Before commit the code please use pep8 check. please refer below url:
- https://www.python.org/dev/peps/pep-0008/
- we can use PyCharm(editor) Code -> Inspect Code utility for pep8 guideline.
We used pycodestyle for Pep8 code style checker.Give below command to run:
a.pycodestyle
We can also run pycoestyle for one file using below command:
- pycodestyle file name