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.
- If you work on Windows, you need to enter the following:
- python manage.py makemigrations TripShare
- python manage.py migrate
- python populate_trip.py
- 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:
Username | Password |
---|---|
mousi | tripshare |
geo | tripshare |
jenny | tripshare |
liverpoolaras | tripshare |
thanos | tripshare |
molester | tripshare |
Enjoy!!!