An API that provides an interface for the OSBU Forecast Tool, which is an MVP of a better version of http://www.gsa.gov/portal/content/101163. To learn more about the Office of Small Business Utilization at GSA, visit http://www.gsa.gov/portal/category/21015.
Support for storage via Elastic Search or Django Models. Separation of API into a read and a write portion.
The OSBU Forecast tool is a simple Django application. First, make sure that Python 3 is installed and that you have a version of virtualenv
:
python3 --version
virtualenv --version
If you receive errors, install Python 3 and/or virtualenv.
Then, installation is as easy as:
git clone https://github.com/18F/forecast.git && cd forecast # Clone the repository
virtualenv .env # Create a virtualenv
source .env/bin/activate # Activate virtualenv
cd forecast-admin/forecast && pip install -r requirements.txt # Install dependencies
./manage migrate
./manage runserver