Skip to content
This repository has been archived by the owner on Dec 8, 2017. It is now read-only.

18F/forecast

Repository files navigation

OSBU Forecast

Build StatusCode Climatecodecov.io

Public Law 100-656, the Business Opportunity Development Reform Act of 1988, amended the Small Business Act to place new emphasis on acquisition planning. The law requires agencies to compile and make available projections of contracting opportunities small and small disadvantaged firms may be able to perform. This is an application compiling contracting forecast information from multiple agencies for greater visibility.

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.

Features

Support for storage via Elastic Search or Django Models. Separation of API into a read and a write portion.

Installation

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, install and run the project with:

git clone https://github.com/18F/forecast.git && cd forecast   # Clone the repository
virtualenv .env   # Create a virtualenv
source .env/bin/activate   # Activate virtualenv
pip install -r requirements.txt   # Install dependencies
cd forecast-admin/forecast
./manage.py collectstatic --noinput  
sass static/assets/_scss/all.scss static/assets/css/main.css
./manage.py syncdb
./manage.py createcachetable
./manage.py loaddata forecast/fixtures/multi-agency.json
waitress-serve --port=8000 forecast.wsgi:application

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.