swans-one / pgh-blotter

Laravel app for the OpenPGH Police Blotter 2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##OpenPGH Police Blotter

Part of an on-going collaboration between Code&Supply and OpenPGH, this app presents a map displaying the location and situational data available for all reported arrests and violations from the Pittsburgh Police Department

###Installation

This is a Laravel 5.0 app, and it's easiest to put local installs into a Laravel Homestead box.

Once you have VirtualBox, Vagrant, and Homestead set up, SSH in and clone this git repo:

git clone https://github.com/carterfort/pgh-blotter.git

Next, run a Composer install to install Laravel and its dependencies:

composer update

Once that's finished (it might take a while), you'll need to set up your environment variables file. Copy the .env.example file in the root to .env

cp .env.example .env

Generate a key for this install:

php artisan key:generate

Edit your new .env file's database variables so you can connect to Homestead's SQL database:

nano .env

About

Laravel app for the OpenPGH Police Blotter 2.0


Languages

Language:PHP 99.1%Language:JavaScript 0.6%Language:ApacheConf 0.4%