Web app that helps investors evaluate investment property opportunities. The user inputs a US residential property address and the app uses Zillow's API to pull property details. The app presents the property details to the user for inspection and the ability to edit. With the details finalized, the app will crunch the data and return various financial metrics about the property including:
- Operating Income
- Operating Expenses
- Cash on Cash Return
- Debt Coverage Ratio
- Monthly Cash Flow
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Install Python 3.6.2
https://www.python.org/downloads/
- Obtain a Zillow account and Zillow API Key (ZWS-ID)
https://www.zillow.com/webservice/Registration.htm
- Create and configure virtualenv
$ mkdir [directory name]
$ pip install virtualenv
$ cd [directory name]
$ virtualenv -p /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 env
- Git dialed in!
$ git init
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
$ git clone https://github.com/toms3t/Propalyzer.git
- Install packages from requirements.txt file
$ source env/bin/activate (run this from the directory you created to activate the virtual environment)
$ pip install -r Propalyzer/requirements.txt
- Enter secret key in your /Users/[your username]/[directory name]/propalyzer_site/propalyzer_site/settings.py file
secret_key = '[enter new key here without the brackets - you can make the key whatever you want]'
[save settings.py file]
- Enter your ZWSID into the '/Users/[username]/[directory name]/propalyzer_site/propalyzer_app/views.py' file
ZWSID = '[enter your key here without brackets]'
- Prep the SQLite database
$ cd Propalyzer/propalyzer_site
$ python manage.py makemigrations propalyzer_app
$ python manage.py migrate
- Create superuser
$ python manage.py createsuperuser
- Run local webserver and test the home page
$ python manage.py runserver
Test that the site homepage appears when you browse to http://127.0.0.1:8000/propalyzer.
Log in with your superuser credentials
- Install Miniconda
https://conda.io/miniconda.html
- Obtain a Zillow account and Zillow API Key (ZWS-ID)
https://www.zillow.com/webservice/Registration.htm
- Create and configure virtualenv (Use Windows PowerShell, Command Prompt, or a Terminal Emulator such as ConEmu)
> mkdir [directory name]
> cd [directory name]
> conda create --name [virtual environment name]
> activate [virtual environment name]
- Git dialed in!
> git init
> git config --global user.name "John Doe"
> git config --global user.email johndoe@example.com
> git clone https://github.com/toms3t/Propalyzer.git
- Install packages from requirements.txt file
> pip install -r Propalyzer/requirements.txt
- Enter secret key in your /Users/[your username]/[directory name]/propalyzer_site/propalyzer_site/settings.py file and save the settings.py file
- If you have trouble finding your directory, type "pwd" (without the quotation marks) into your terminal application
secret_key = '[enter new key here without the brackets - you can make the key whatever you want]'
[save settings.py file]
- Enter your ZWSID into the '/Users/[username]/[directory name]/propalyzer_site/propalyzer_app/views.py' file
ZWSID = '[enter your key here without brackets]'
- Prep the SQLite database
> cd Propalyzer/propalyzer_site
> python manage.py makemigrations propalyzer_app
> python manage.py migrate
- Create superuser
> python manage.py createsuperuser
- Run local webserver and test the home page
> python manage.py runserver
Test that the site homepage appears when you browse to http://127.0.0.1:8000/propalyzer.
Log in with your superuser credentials
This web app uses a SQLite database which is installed by Django by default.
- Django - The web framework used
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
- Tom Setliffe - Initial work - toms3t
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Thanks PurpleTooth for the readme template!
- Zillow for their outstanding API