The SBIR-EZ (sih-bur-easy)project, provides a web service and user interface abstraction over the Small Business Innovation Research Program suite of tools used by SBIR.gov, DoDSBIR.com and various agency tools. The intent is that users may have a uniform interface to:
- Research existing and past SBIR solicitations
- Save opportunities for later processing
- Apply to opportunities independently of the owning agency
- Track the status of applications
- Receive and send communications
- View benchmarks
Please file issues at the central repository for all Air Force Small Business repo
- Install Postgresql
- Install Python 3.4.1
- Install pip
- Install virtualenv
$ git clone https://github.com/18F/afsbirez.git
$ cd afsbirez
- Make a virtualenv
The directory hosting the virtualenv can be anywhere
you want; keeping it here within the afsbirez
directory
aids in clarity.
$ mkdir env
$ virtualenv-3.4 ./env
- Activate the virtualenv
$ source env/bin/activate
- Install project requirements
$ pip install -r requirements.txt
You should now see (env) on your command prompt:
$ (env)[afsbirez]
-
Install the latest Node.js
-
Update NPM to the latest version
$ npm install npm -g
- Install the bower command line clients, as well as the karma test runner.
$ npm install
- install client side dependencies via bower
$ bower install
Check your pg_hba.conf file on your system to allow local connections without passwords. pg_hba.conf location varies from system to system; to find yours, you can use
psql -t -P format=unaligned -c 'show hba_file' template1
Your hba.conf should have the following lines already in place:
local all all trust
host all all 127.0.0.1/32 trust
Create a database and role with your system user name
$ psql -c "create user afsbirez with superuser password 'afsbirez';" -U postgres
$ psql -c 'CREATE DATABASE afsbirez WITH OWNER afsbirez;' -U postgres
Create the database tables on 'afsbirez'
$ python manage.py syncdb
$ python manage.py runserver
$ python manage.py test
Install Karma globally
npm install -g karma-cli
Run tests
karma start
Run tests in multiple browsers
karma start --browsers Firefox,Chrome
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.