Git Product home page Git Product logo

w209's Introduction

W209 DataViz - Dashboard Ivan Wong, Max Ziff

First:

For your local machine:

  • Create a virtual environment with python >=3.7

  • Install Dependencies:

    • With PIP: pip install -r requirement.txt
    • With Anaconda: conda install --file requirements.txt
  • Run the web app with python ./run.py

  • For development, it may be easier to run without producing cache: python -B ./run.py

For the ischool server:

  • cd ~
  • mv w209 w209.original
  • git clone [email protected]:donaldziff/w209.git
  • /usr/local/bin/virtualenv w209
  • cd w209
  • source bin/activate
  • pip install cat requirements.txt
  • touch start.wsgi

Whenever you make a change, touch start.wsgi to force the server to reload

Modifying the database:

We have junglescout data available on google drive. The shared folder is here https://drive.google.com/drive/folders/1Gy-wKe0bJQyjW8mx4vB70iZVb7NuaG6J. In that folder is a tarball max0312.tar.gz which contains subdirectories for two JS queries.

Download that file and put it the base directory of this project. Then untar that file: cd input_files && tar tar xvf ../max0312.tar.gz The details of those queries are in READMEs.

Run the dataload notebook to create a new product db that holds those results, along with any other query data you add to the input_files directory. The dataload notebook a new column tag with the name of that subdirectory (or '.') so it's easy to restrict the db to any subset.

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.