This is a Django-based web app for Portland State's CS Capstone.
The following instructions are primarily intended for Mac/Linux, but they should also work for Cygwin.
-
Install Python if it's not already on your system.
-
Install pip, the Python package manager.
-
Install virtualenv.
[sudo] pip install virtualenv
-
Install virtualenvwrapper. Follow installation instructions here.
-
Clone this repo.
git clone git@github.com:pdxcapstone/RealEstate.git
-
Create your virtual environment. This will isolate the project from any other python projects you may have running on your system.
mkvirtualenv -a RealEstate/ RealEstate
-
Enter your new virtual environment. From any directory:
workon RealEstate
-
Install dependencies:
pip install -r requirements.txt
-
Create/update database:
python manage.py migrate
-
Run the server:
python manage.py runserver
-
When you are finished and wish to exit the virtualenv, exit by the command:
deactivate
-
Optional: Create a superuser in order to login to the RealEstate application:
python manage.py createsuperuser
=======