Giter Club home page Giter Club logo

nycopenrecords's Introduction

NYC Department of Records and Information ServicesNYC OpenRecords
Codacy Badge

NYC OpenRecords

NYC OpenRecords is an application that assists individuals in the process of submitting Freedom of Information Law (FOIL) requests to a NYC Agency. The web application also allows government employees to manage, respond to, and fulfill incoming requests.

Getting Started

Technical Requirements

OpenRecords is currently being developed on RedHat Enterprise Linux v6 / v7 (in testing).

It relies on the following technologies:

  • Python v3.5
  • PostgreSQL v9.5
  • ElasticSearch v5.2
  • Redis v3.2

Authentication

  • OpenRecords currently implements LDAP and OAuth for authentication. For development, you can bypass authentication by setting both 'USE_OAUTH' and 'USE_LDAP' to False.

We have optional integrations with Sentry for error tracing and are working on an integration with the ELK stack for log aggregation and analytics.

Pre-Requisites

  • Vagrant (v2.1.4) - Newer version may work but have not been tested.
  • Virtualbox (v5.1.32) - Newer versions may work but have not been tested.
  • Vagrant-VBGuest
  • Redhat Developer Account (https://developers.redhat.com)
  • FakeSMTP (Optional, for testing email functionality)

Setting Up Development Environment (WIP)

On Mac OS X:

  1. Install Virtualbox and Vagrant.
  2. Install vagrant-vbguest:
    vagrant plugin install vagrant-vbguest
  3. Create your .env file:
    cp .env.example .env
  4. Edit your .env file. Look at the comments in .env.example and config.py for examples of valid values.
  5. Create your Vagrantfile
    cp Vagrantfile.example Vagrantfile
  6. Startup your Vagrant machine
    RH_USER=<YOUR REDHAT DEVELOPER USERNAME> RH_PASS=<YOUR REDHAT DEVELOPER PASSWORD> vagrant up default
    
  7. Once Vagrant has finished setting up the VM, ssh in to the system (vagrant ssh). You'll need to have 2 different SSH Sessions open. Terminal 1 - Celery
    sh /vagrant/.startup/celery_startup.sh
    Terminal 2 - Flask
    sh /vagrant/.startup/flask_startup.sh

On Windows:

TBD (If you would like to help us setup a development environment on Windows, please try it out and submit issues as they come up.)

Questions?

Please open an issue in this repository if you have any questions or any difficulty setting up and using OpenRecords.

nycopenrecords's People

Contributors

joelbcastillo avatar richaagarwal avatar criscristina avatar zgary avatar johnyu95 avatar estevez90 avatar palisand avatar aot221 avatar stefeezy avatar mholubowski avatar waltz avatar brandontang avatar mjumbewu avatar rebel977 avatar migurski avatar jcody avatar ananelson avatar akrishnan4doitt avatar ondrae avatar andyhull avatar eddietejeda avatar gsf avatar vdavez avatar konklone avatar pui avatar magictrust avatar

Watchers

James Cloos avatar 5abre 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.