To get the system up and running, it's essential to have Neo4J Desktop installed, which serves as the project's database. Below is a brief guide on how to install it:
-
Download the Application:
- Visit Neo4j Download Page.
- Fill out the form to initiate the download process.
-
Copy Neo4j Desktop Activation Key:
- Copy the Neo4j Desktop Activation Key; you'll need it to activate your Neo4j Desktop account.
-
Install Neo4j Desktop:
-
On Windows:
- After downloading, you'll get a file named "Neo4j Desktop Setup X.Y.Z.exe," where X.Y.Z corresponds to the Neo4j version.
- Execute the .exe file.
- Start Neo4j.
-
On Linux:
- After downloading, you'll get a file named "neo4j-desktop-X.Y.Z-x86_86.AppImage."
- AppImage packages don't need installation; they run directly.
- To execute it, give execution permissions to the downloaded file and run it from a terminal:
chmod a+x neo4j-desktop-X.Y.Z-x86_64.AppImage ./neo4j-desktop-X.Y.Z-x86_64.AppImage
-
-
Register the Software:
- Enter the key copied earlier to register the software. This can also be done through the menu options.
-
Create DB:
-
Install Project Dependencies:
- In a terminal, execute the following command to install the project dependencies:
pip install -r requirements.txt
- In a terminal, execute the following command to install the project dependencies:
-
Run main.py:
-
Finally, execute
neo_flix_app.py
located at "src/main/python/main.py." You can do this from a development environment like PyCharm or Visual Studio Code or from the terminal. -
On Windows:
python neo_flix_app.py
-
On Linux:
chmod +x neo_flix_app.py ./neo_flix_app.py
-
This guide ensures the setup of Neo4j and the project's dependencies, allowing you to run the system seamlessly.