No description, website, or topics provided.
Clone or download
Latest commit 9d6841f Nov 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
delivery fixing minor imports Nov 27, 2018
static Delete Screenshot from 2018-11-27 17-24-17.png Nov 27, 2018
store fixing minor imports Nov 27, 2018
templates first commit Nov 27, 2018
Procfile first commit Nov 27, 2018
README.md Update README.md Nov 27, 2018
db.sqlite3 first commit Nov 27, 2018
manage.py first commit Nov 27, 2018
req.txt first commit Nov 27, 2018
requirements.txt fixing minor imports Nov 27, 2018
runtime.txt fixing minor imports Nov 27, 2018

README.md

Delivery is Simple Delivery management Application.

Store manager can create task for delivery boys.

Store manager can cancel task which not yet accpeted by delivery boy.

Store manager can view all tasks list and thier status on dashboard.

Deliver boy can Accept New Tasks from store.

Deliver boy can reject his/her task once accepted.

Deliver boy can view all his Past accepted tasks and completed tasks on dashboard.

Deliver boy can only accpet three tasks in his account if he accept more he/she needs to perform action on old tasks.

Setting up

Fork the project to your personal account and get a local copy on your machine. Change into the project folder.

Setup Virtual Environment for Delivery app

$ pyvenv venv (creates new virtualenv for project)
$ source venv/bin/activate (activate virtualenv assumeing using ubuntu)
$ pip install -r requirements.txt  (install dependencies)

Make sure to create migrations, create tables in db, and create a superuser to have an admin dashboard.

$ python manage.py makemigrations (creates migration files based on your models)
$ python manage.py migrate (creates the tables in your db based on the migration files)
$ python manage.py createsuperuser (creates a superuser for your application in the db)
$ python manage.py runserver (run server)
for storemanager
username : omega
password :ASDFGhjkl1@
for deliver boy
username : deliverboy-1
password : ASDFGhjkl1@

Now you should be able to view your app to view your admin dashboard use http://127.0.0.1:8000/admin/.

http://localhost:8000/store/signin/  (for signup)
http://localhost:8000/store/tasks/    (store manager dashboard)
http://localhost:8000/deliver/tasks/ (deliverboy dashboard)
note: diliver boy and store manager are deifferent type accounts

Delivery

Delivery

Delivery

Delivery

Delivery