Skip to content
Carpooling / Ride sharing app done with django and bootstrap
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates Jan 11, 2019
.idea
Carpool
api setup cloudinary and postgres django heroku lib Jan 28, 2018
app
broadcast setup cloudinary and postgres django heroku lib Jan 28, 2018
media
static
.gitattributes Update .gitattributes Oct 20, 2017
.gitignore
AUTHORS.rst
CHANGES.rst
CONTRIBUTING.rst Create CONTRIBUTING.rst Jul 14, 2016
Carpool.iml removed fb sign up Oct 20, 2017
LICENSE.rst
Procfile make it better Mar 24, 2017
README.md Update README.md Oct 20, 2018
db.sqlite3
dump.json setup cloudinary and postgres django heroku lib Jan 28, 2018
icon-inverse.png
icon.png
imagw.png make it better Mar 24, 2017
manage.py make it better Mar 24, 2017
my_ride make it better Mar 24, 2017
mylogo.png
requirements.txt fixed requirements Jan 29, 2018
runtime.txt make it better Mar 24, 2017
setup.py
splash.png

README.md

MY-RIDE (Django Carpool)

Live Demo - http://myrideapp.xyz

Installation

requires python > 3 django 1.9

After cloning repo

cd Carpool
python manage.py makemigrations
python manage.py migrate

Create superuser

creates the admin account

python manage.py createsuperuser
Username:
Email Address:
Password:
Password (again):

###Coniguring Email -Open settings.py

#replace with gmail username and password or comment out to ignore the email
STATIC_URL = '/static/'
ACCOUNT_ACTIVATION_DAYS=7
EMAIL_HOST='smtp.gmail.com'
EMAIL_USE_TLS=1
EMAIL_PORT=587
EMAIL_HOST_USER=''
EMAIL_HOST_PASSWORD=''

-Open views.py line 85 edit the email address there or comment out the line to ignore sending emails in contact form

def contact(request):
    if request.method == 'POST':
        name = request.POST['username']
        email = request.POST['email']
        website = request.POST['website']
        message = request.POST['message']

        send_message = '''
        Name : %s
        Email : %s
        Website : %s
        Message : %s

        ''' % (name, email, website, message)

        send_mail('Contact Form Message From My Ride', send_message, 'daviduchenna@outlook.com', ['daviduchenna@outlook.com'])
        if request.user.is_authenticated():
            return render(request, 'app/contact_loggedin.html',{'done':True})
        else:
            return render(request, 'app/contact.html',{'done':True})

    if request.user.is_authenticated():
        return render(request, 'app/contact_loggedin.html')
    else:
        return render(request, 'app/contact.html')



Running the server

python manage.py runserver 

Open browser to http://localhost:8000/

Todos

  • Notifications
  • Chat Integration (personal and group messaging)
  • Add liscence registration for drivers
  • Add Agency registration for hired cars
  • Inbox and notification menus

License

The MIT License (MIT). Please see LICENSE.rst for more information.

Copyright (c) 2016-2017 Obi Uchenna David

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
You can’t perform that action at this time.