Skip to content

Where USI has installed and will install fiber optic Internet connections.

License

Notifications You must be signed in to change notification settings

MinnPost/minnpost-usi-fiber

Repository files navigation

USI Fiber

Where USI has installed and will install fiber optic Internet connections.

Data

Source data comes from the data feed found at my.usinternet.com/fiber/. Some processing has been done to supplement the data.

Data Processing

  1. Get the original data: wget -O data/original-usi-fiber.kml https://my.usinternet.com/fiber/order/kml/Phases1to43v20130812.kml
  2. Convert to GeoJSON: ogr2ogr -f GeoJSON -t_srs EPSG:4326 data/original-usi-fiber.geo.json data/original-usi-fiber.kml
  3. Process the GeoJSON file: node data-processing/process-geojson-fiber-data/js

Prerequisites

  1. Install Git.
  2. Install NodeJS.
  3. Optionally, for development, install Grunt: npm install -g grunt-cli
  4. Install Bower: npm install -g bower
  5. Install Ruby, though it is probably already installed on your system.
  6. Install Sass: gem install sass
  7. Because Leaflet comes unbuilt, we need to build it with Jake: npm install -g jake

Install

  1. Check out this code with Git: git clone https://github.com/MinnPost/minnpost-usi-fiber.git
  2. Go into the template directory: cd minnpost-usi-fiber
  3. Install NodeJS packages: npm install
  4. Install Bower components: bower install
  5. Because Leaflet comes unbuilt, we need to build it: cd bower_components/leaflet/ && npm install && jake; cd -;

Development and Run Locally

  • Run: grunt server
    • This will run a local webserver for development and you can view the application in your web browser at http://localhost:8899.
    • Utilize index.html for development, while index-deploy.html is used for the deployed version, and index-build.html is used to test the build before deployment.
    • The server runs grunt watch which will watch for linting JS files and compiling SASS. If you have your own webserver, feel free to use that with just this command.

Build

  1. Run: grunt

Deploy

  1. Run: grunt mp-deploy

About

Where USI has installed and will install fiber optic Internet connections.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published