juanprog97 / Mini-Amazon-Api-Service

This is an Api Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

https://hub.docker.com/_/neo4j/ https://marcobonzanini.com/2015/04/06/getting-started-with-neo4j-and-python/

  1. Create a server sudo docker run --name neo4j -p 7474:7474 -p 7687:7687 --volume=$HOME/neo4j/data:/data -d neo4j
    or
    sudo docker run --name neo4j -p 7474:7474 -p 7687:7687 -d neo4j

  2. Verify the database in your localhost: http://localhost:7474/
    Note: neo4j is the current password, change it! and remember it!

  3. In your localmachine install:
    sudo pip install neo4jrestclient

  4. Open another terminal and execute the code createDB.py NOTE: change the password!

  5. View in http://localhost:7474/ Database Information click in * (asterisk)
    The Neo4j Browser available at http://localhost:7474/ provides a nice way to query the DB and visualise the results, both as a list of record and in a visual form.

  6. sudo docker build --tag=mini-amazon-users .

  7. sudo docker image ls

  8. sudo docker run -d -p 9090:9090 mini-amazon-users

About

This is an Api Service


Languages

Language:Python 97.4%Language:Dockerfile 2.6%