Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Latest commit

 

History

History
32 lines (25 loc) · 820 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 820 Bytes

Balance Indexer

Process to fetch indexed data at intervals.

Getting Started

If you'd like to keep a separate Python environment for this project's installs, set up virtualenv

$ pip install virtualenv virtualenvwrapper

Add the following to your ~/.bashrc

export WORKON_HOME=$HOME/.virtualenvs~
export PROJECT_HOME=$HOME/Devel
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3
source /usr/local/bin/virtualenvwrapper.sh

From the project directory, run these commands to install the balance-indexer package in a virtualenv called "balance-indexer"

$ mkvirtualenv balance-indexer
$ pip install -r requirements.txt
$ python setup.py develop

Run the project locally

$ balance-indexer --redis-local

Use a tool like Postman to create requests to interact with the server.