Git Product home page Git Product logo

got-visual's Introduction

Writeup available at: https://ashishchaudhary.in/game-of-thrones-visualization

Deployment instructions

If there are any build errors, please remove the package-lock.json file and continue.

Tested on: Nodev8.9.1+

  1. git clone <this-repo>
  2. npm install (please use npm and not yarn)
  3. install neo4j

Using docker:

docker run -d \
    --publish=7474:7474 --publish=7687:7687 \
    --volume=$HOME/neo4j/data:/data \
    --volume=$HOME/neo4j/logs:/logs \
    neo4j:3.0

Make sure to setup password before going further (go to http://localhost:7474).

  1. Edit src/config/index.ts according to the ports, addresses, and passwords that you are going to use so that the application knows where to point its queries.

Seeding the DB

  1. execute external/import-data/01-insert-characters.js and external/import-data/02-insert-relationships.js in order.

Running the proxy

  1. execute external/proxy/index.js. By default it runs at port 3000. This value is reflected in the src/config/index.ts file too.

Development build

  1. npm start -s

Deployment build

  1. npm run build -s // this produces build in dist/
  2. npm run static -s // to quickly view the build in the browser at port 8080 // configurable in static command in package.json.

got-visual's People

Contributors

tocttou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

imranansari

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.