-
Notifications
You must be signed in to change notification settings - Fork 5
Installation
compatible with >=django 3.0
compatible with django2.0
compatible with >=django3.0
-
Download or clone project from git.
for WINDOWS Install Git Bash
after install the Git Bash
-
Create project with virtual environment also install pip pip.
-
Install prerequisites
pip isntall -r requirement.txt
(after coping the project to your directory where you create projcet).
-
Inside app we have .env.test rename to .env and then update
Generate SECRET_KEY
python manage.py generate_key -sp -d app
Database Settings
DATABASE_NAME=db_name DATABASE_USER=root DATABASE_PASSWORD= DATABASE_HOST=localhost
EMAIL Setting
EMAIL_HOST_USER = '***@gmail.com' EMAIL_HOST_PASSWORD = ''.
SMS Getway Setting
'url': 'http://sms.abc.com/sendSMS', 'apikey': '**********************', 'username': '', 'sendername': '', 'smstype': '********'.
-
now open terminal and path set to your current project and run
python manage.py makemigrations
python manage.py migrate
-
now create super user
```bash python manage.py createsuperuser ```
and follow the steps.
-
now Run
python manage.py runserver
#Testing
Open the browser with given runserver IP for ex: http://127.0.0.1:8000/ Here you get all the listed API Docs