Git Product home page Git Product logo

isabella232 / afsbirez Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 18f/afsbirez

0.0 0.0 0.0 5.86 MB

(Inactive) The SBIR-EZ project, whose goal is to simplify the process of participating in the Small Business Innovation Research Program

License: Other

Ruby 0.13% Shell 0.11% PLpgSQL 0.02% Python 31.88% JavaScript 37.26% CSS 6.59% HTML 14.46% API Blueprint 4.56% Jupyter Notebook 4.99%

afsbirez's Introduction

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.

afsbirez's People

Contributors

catherinedevlin avatar davidebest avatar annalee avatar dwcaraway avatar jmcarp avatar konklone avatar kaitlin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.