Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

README.md

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.

About

Game Of Thrones Visualizations With Neo4j

Resources

Releases

No releases published

Packages

No packages published