To use this project, follow these steps:
- Make a
.env
file having same structure as.env.sample
- Get your G_KEY and G_SKEY by creating a project on Google Dev Console
- Add you client key to G_KEY and client secret key to G_SKEY.
- Fill up the following entries in
.env
.
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_HOST_USER=YourEmail
EMAIL_HOST_PASSWORD=YourPassword
-
You have to enable access by insecure apps in your respective email serivce provider.
-
Install requirements:
pip install -r requirements.txt
- Makemigrations and migrate the Database to populate the table
python manage.py makemigrations && python manage.py migrate
- Create superuser
python manage.py createsuperuser
- Run server
python manage.py runserver
-
Take Python 3.7 app with Django 2.0.8.
-
Clone the repository using:
git clone https://github.com/aashutoshrathi/labper.git brutus
-
Go into project directory using:
cd brutus
-
Install requirements:
pip3 install --user -r requirements.txt
-
Makemigrations and collectstatic using:
python3 manage.py makemigrations landing python3 manage.py migrate pytohn3 manage.py collectstatic python3 manage.py createsuperuser
One click easy deployment.