karvounis / TripShareProject

TripShare

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TripShare

TripShare is a team project for ITECH 2015.

Clone the application to your machine:

git clone https://github.com/liverpoolaras/TripShareProject.git

To install it to your machine, first create a virtual environment .

mkvirtualenv <name>

When the environment is created, go to the application's folder in your machine and enter:

pip install -U -r requirements.txt

It will install all the necessary packages in order to use this application.

Now, you need to setup the database for the application.

  1. If you work on Windows, you need to enter the following:
    1. python manage.py makemigrations TripShare
    2. python manage.py migrate
    3. python populate_trip.py
  2. If you work in a UNIX based machine, there is a script ready to create the database and populate it. In your terminal, enter: ./update_db.sh

If you want to create an admin enter the following:

python manage.py createsuperuser

and follow the instructions. There is a super user in the live demo with credentials: username: root, password: tripshare .

Finally, enter the following to your terminal:

python manage.py runserver

There are some premade accounts created for you:

UsernamePassword
mousitripshare
geotripshare
jennytripshare
liverpoolarastripshare
thanostripshare
molestertripshare

Enjoy!!!

About

TripShare


Languages

Language:JavaScript 58.1%Language:Python 19.5%Language:CSS 12.9%Language:HTML 9.3%Language:Shell 0.1%