API documentation: https://documenter.getpostman.com/view/9579911/SztK254C
Interface video:
- Python 2.7 or higher
- Neo4j Desktop 3.5.6
- Node current version
- Twitter API token, visit: https://developer.twitter.com/
- YouTube API token, visit https://developers.google.com/youtube/v3
- Install Neo4j Desktop from the link
-
Open Neo4j and create new graph named 'Social Search' but don't run it.
-
Click on 'Manage' and then click on 'Open Folder'
-
From the File Explorer, go to 'bin' folder and open command prompt
-
Run the following command
neo4j-admin load --from=<location_of_graph.db.dump_file> --database=graph.db --force
- Now, in the Neo4j application, start the newly created graph database
- Go to your command prompt and type
pip install virtualenv
- Navigate to the project directory
cd socialsearcher
- Create a virtual environment using the command
virtualenv env
- Activate the virtual environment by typing the command
venv\Scripts\activate
- Deactivate using the command
deactivate venv
- Navigate to the project directory using command prompt
cd socialsearcher
- Activate the virtual environment using the command
venv\Scripts\activate
- Run this command to install dependencies
pip install -r requirements.txt --no-cache-dir
- Run this command to install preprocessor module
- if git is installed on system
pip install git+https://github.com/s/preprocessor.git
- if git is not installed on system
pip install --upgrade https://github.com/s/preprocessor/tarball/master
-
Input the Twitter API by replacing the placeholder strings in api.py
-
Run the API from command prompt using
python api.py
- Install nodejs from the following link
- Go to the 'UI' folder and run this command using the command prompt to install node modules
npm install
- Now, run this command to launch the project
npm start