Skip to content

karishay/advocate_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

1. Clone the Repository

Enter the directory that you use for git projects, then run:

$ git clone https://github.com/karishay/advocate_calculator

2. Set up your Virtual Environment

Install virtualenv.

$ pip install virtualenv

Create a virtual environment named venv by navigating to your advocate_calculator folder and running:

$ virtualenv venv

You should have your virtual environment active while working on this project. To activate it, enter:

$ source venv/bin/activate

While your virtual environment is active, install the project's python dependencies with:

(venv) $ pip install -r requirements.txt

If you made a change to the project's dependencdies, run this in your virtual environment before committing:

(venv) $ pip freeze > requirements.txt

Don't forget to deactivate your virtual environment when you're done working in the repository. To do so, simply run:

(venv) $ deactivate

3. Install the WebDriver for Chrome

  • Download the latest chromedriver release here.
  • Extract the .zip file and place the chromedriver executable in a safe location, where it will not need to move.
  • Append the line export PATH_TO_CHROMEDRIVER='/the/path/to/chromedriver' to your ~/.bash_profile or ~/.bashrc file.

4. Set Secrets in Environment Variables

Append the lines

export NIMBLE_EMAIL='<nimble_email>'
export NIMBLE_PASSWORD='<nimble_password>'
export NEO4J_USERNAME='<neo4j_username>'
export NEO4J_PASSWORD='<neo4j_password>'

to your ~/.bash_profile or ~/.bashrc file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published