Git Product home page Git Product logo

bse_equities's Introduction

BSE Equities

App is designed to demonstrate use of redis as database. To run this application locally.

Run locally

Install Redis Server

sudo apt update
sudo apt install redis-server

check the redis server status with

sudo systemctl status redis

Setup the code

Clone git repository using

git clone [email protected]:akashshah610/bse_equities.git

Go to the bse_equities directory and create virtual enviorment and install python requirements. Make sure you are creating virtual env with python 2.7.15.

pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Configure redis url (Optional)

Create enviorment in file in root folder with name .env and below details.

REDIS_URL=redis://localhost:6379/0

or by setting env variable using command.

export REDIS_URL=redis://localhost:6379/0

Upload Data

Upload BSE equity price data to redis server

python -m scripts.refresh_equity_price

Run server

Run Cherrypy Server using

python -m web.app

Open browser by clicking this link http://0.0.0.0:8080/.

bse_equities's People

Contributors

akashshah610 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.