(Inactive) The SBIR-EZ project, whose goal is to simplify the process of participating in the Small Business Innovation Research Program
JavaScript Python HTML CSS API Blueprint Ruby Other
Latest commit 72fd397 Oct 8, 2015 @DavidEBest DavidEBest Merge pull request #213 from 18F/aboutyml
Preliminary .about.yml
Permalink
Failed to load latest commit information.
afsbirez Revert "Added serializers and tests" Sep 17, 2015
chef Adding preliminary chef configuration. Feb 4, 2015
data Changes to branch for sprint meeting. Sep 9, 2015
requirements exact version numbers in requirements Apr 16, 2015
sbirez Simplifying the PDF generation workflow for CloudFoundry. Sep 25, 2015
tests/client Correcting the validation of checkbox elements. Aug 28, 2015
.about.yml Filling out the .about.yml file a bit. Oct 8, 2015
.bowerrc Implementing the frontend in the django app. Feb 20, 2015
.buildpacks Simplifying the PDF generation workflow for CloudFoundry. Sep 25, 2015
.cfignore Modifying the document frontend to better mesh with the rest of the s… Apr 14, 2015
.editorconfig Generated a sub layout using the yeoman angular fullstack generator May 6, 2014
.gitattributes Generated a sub layout using the yeoman angular fullstack generator May 6, 2014
.gitignore Merge branch 'master' into generate_pdf Sep 2, 2015
.jshintrc (WIP) Conversion of the angular app to use flask backend. Oct 22, 2014
.travis.yml Invoke codecov Sep 25, 2015
Aptfile Updating the deploy functionality to work with the mdb exported data. Sep 15, 2015
CONTRIBUTING.md updating CONTRIBUTING.md per 18F's open source policy. Mar 12, 2015
LICENSE.md Updating licensing text. Jul 30, 2014
README.md Updating readme to remove gem installation instructions. Aug 24, 2015
apiary.apib Update apiary with /topics/<id>/saved Mar 5, 2015
bower.json Updating dependencies, again. Oct 8, 2015
generate_fixtures.sh Enable IPython Notebook django shell (``manage.py shell_plus --notebo… Mar 16, 2015
karma-e2e.conf.js Generated a sub layout using the yeoman angular fullstack generator May 6, 2014
karma.conf.js Removing the ui-mask module and adding element type validation. Jul 20, 2015
manage.py Renaming `afbirez` to `afsbirez`. May 8, 2015
manifest.yml Simplifying the PDF generation workflow for CloudFoundry. Sep 25, 2015
package.json Forgot to include the updated package.json. Apr 15, 2015
requirements.txt Simplifying the PDF generation workflow for CloudFoundry. Sep 25, 2015
runtime.txt List djmail in apps Jun 1, 2015
workflow_setup.ipynb DoD fixture changes: `data_type` and `human` for subworkflows Mar 23, 2015

README.md

SBIR-EZ

Build Status

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

Installation

  • 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

Configure the database

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

Running the Server using the Werkzeug built-in run_simple WSGI server. Please note that this is for

development only.

$ python manage.py runserver

Running Python Tests

$ python manage.py test

Running Javascript Tests

Install Karma globally

npm install -g karma-cli

Run tests

karma start

Run tests in multiple browsers

karma start --browsers Firefox,Chrome

License: 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.