GithubHelp home page GithubHelp logo

micahstubbs / metis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teadesign/votinginfoapp

0.0 1.0 0.0 16.73 MB

A continuous deployment environment for election data

License: BSD 3-Clause "New" or "Revised" License

JavaScript 56.21% HTML 25.60% CSS 17.68% Shell 0.50%

metis's Introduction

VotingInfoApp

Voting Information Project web app.

Learn more

Running

If you've been running the data-processor with lein run you can run Metis locally to show a dashboard for that data.

Prerequisites

Dependencies

  • npm install
  • ./node_modules/.bin/bower install

Setup

  • Compile SASS: ./node_modules/.bin/grunt sass

Configuration

Create a .env file in the root directory, copy the following into it, and provide values for your Postgres database and RabbitMQ server.

DB_ENV_POSTGRES_DATABASE=dataprocessor
DB_ENV_POSTGRES_PASSWORD=
DB_ENV_POSTGRES_USER=dataprocessor
DB_PORT_5432_TCP_ADDR=localhost
DB_PORT_5432_TCP_PORT=5432
RABBITMQ_PORT_5672_TCP_ADDR=localhost
RABBITMQ_PORT_5672_TCP_PORT=5672
VIP_DP_RABBITMQ_EXCHANGE=data-processor-exchange

Start it up

node app.js

Load http://localhost:4000 in a browser. You can log in using the accounts in authentication/strategy.js. The super user account is "testuser" and its password is "test".

Running in Docker

To run in docker, the simplest way is to have docker-compose installed (brew install docker-compose).

  1. docker-compose build
  2. docker-compose up
  3. Then hit http://localdocker:4000/, assuming you have a localdocker host file entry pointing to your docker host. If not, replace localdocker with your docker host IP address.

metis's People

Contributors

teadesign avatar tie-rack avatar bwreid avatar jenn avatar sduckett avatar ryanc13 avatar cap10morgan avatar tank157 avatar dcohen avatar danielglauser avatar ericnormand avatar nobo avatar

Watchers

James Cloos 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.