This is a repo for the drug review analysis project for AAI 500.
Run each command line-by-line in your terminal to set up the project:
$ git clone git@github.com:omarsagoo/drug-review-analysis.git
$ cd drug-review-analysis
You will also need to have make installed to use all of the easy to use commands that have been setup for this project, This should be all you need.
Windows installation:
Mac installation:
The python version that you will use will be automatically set with pyenv. The version it is currently set to use is 3.7.17, this can be modified in the Makefile if needed on line 7.
In order to run this repo you must have pyenv and pyenv-virtualenv installed.
After Installing the required tools:
$ make run
This command will install all the necessary dependencies, start up a virtual environment, create a kernel with the correct python version, then finally run the jupyter notebook. It will open a browser window.
Running this command will set everything up for you, the first time might be a little slow as it downloads and caches all of the dependencies, but all subsequent calls will be relatively quick!
In order to properly add dependencies to the virtual environment you will need to open a console through the notebook. This will ensure that the packages get put into the right place.
After you install a new package, you must run the following make command:
$ make update
This command will update the requirements.txt file with the added dependency.