diff --git a/docs/docs/integrations/graphs/memgraph.ipynb b/docs/docs/integrations/graphs/memgraph.ipynb index 937bb4bbc8..b46a2fd2b0 100644 --- a/docs/docs/integrations/graphs/memgraph.ipynb +++ b/docs/docs/integrations/graphs/memgraph.ipynb @@ -19,26 +19,22 @@ "\n", "To complete this tutorial, you will need [Docker](https://www.docker.com/get-started/) and [Python 3.x](https://www.python.org/) installed.\n", "\n", - "Ensure you have a running `Memgraph` instance. You can download and run it in a local Docker container by executing the following script:\n", + "Ensure you have a running Memgraph instance. To quickly run Memgraph Platform (Memgraph database + MAGE library + Memgraph Lab) for the first time, do the following:\n", + "\n", + "On Linux/MacOS:\n", "```\n", - "docker run \\\n", - " -it \\\n", - " -p 7687:7687 \\\n", - " -p 7444:7444 \\\n", - " -p 3000:3000 \\\n", - " -e MEMGRAPH=\"--bolt-server-name-for-init=Neo4j/\" \\\n", - " -v mg_lib:/var/lib/memgraph memgraph/memgraph-platform\n", + "curl https://install.memgraph.com | sh\n", "```\n", "\n", - "You will need to wait a few seconds for the database to start. If the process is completed successfully, you should see something like this:\n", + "On Windows:\n", "```\n", - "mgconsole X.X\n", - "Connected to 'memgraph://127.0.0.1:7687'\n", - "Type :help for shell usage\n", - "Quit the shell by typing Ctrl-D(eof) or :quit\n", - "memgraph>\n", + "iwr https://windows.memgraph.com | iex\n", "```\n", "\n", + "Both commands run a script that downloads a Docker Compose file to your system, builds and starts `memgraph-mage` and `memgraph-lab` Docker services in two separate containers. \n", + "\n", + "Read more about the installation process on [Memgraph documentation](https://memgraph.com/docs/getting-started/install-memgraph).\n", + "\n", "Now you can start playing with `Memgraph`!" ] }, @@ -89,7 +85,7 @@ "id": "95ba37a4", "metadata": {}, "source": [ - "We're utilizing the Python library [GQLAlchemy](https://github.com/memgraph/gqlalchemy) to establish a connection between our Memgraph database and Python script. To execute queries, we can set up a Memgraph instance as follows:" + "We're utilizing the Python library [GQLAlchemy](https://github.com/memgraph/gqlalchemy) to establish a connection between our Memgraph database and Python script. You can establish the connection to a running Memgraph instance with the Neo4j driver as well, since it's compatible with Memgraph. To execute queries with GQLAlchemy, we can set up a Memgraph instance as follows:" ] }, {