fordnox / crypto-funds-portfolio

A webapp that shows the portfolio of the most famous cryptocurrency hedge funds. 💰

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool





Crypto Funds Portfolio

Crypto Funds Portfolio is a free and open-source project, created by the Django framework. It's a web application that gives you the portfolio of the most famous cryptocurrency hedge funds and venture capitals. You can access all data through UI or APIs.

The main content of this app crawled from messari.io

Live Demo

You can see the deployed version of project here

Requirements

- python version 3.8 or upper
- selenium + chrome & chromedriver

Run Locally

First you need to install google chrome. After that download chromedrive based on your chrome version and put it on chromedrive folder in project. now follow these steps :

Step 1 : Change .env.local.sample to .env and if you are in restricted area (means that you can not open messari.io normally) then run your proxy and set RESTRICTED_AREA to True and change PROXY_HOST and PROXY_PORT to your setting, otherwise set it to False.

$ mv .env.local.sample .env

Step 2 : create a new virtualenv and install requirements.

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

Step 3 : run django and reach whole project in http://localhost:8000/.

$ python manage.py runserver

Deploy on Heroku

The project completely compatible with heroku and everything is configured. Just fork the project to your github account and connect your heroku app to repository. then follow these two steps :

Step 1 : add these buildpacks to your heroku app

Step 2 : add environments in .env.heroku.example to your heroku app config vars

# .env.heroku.example

ON_HEROKU=True
CHROMEDRIVER_PATH=/app/.chromedriver/bin/chromedriver

Swagger API Document

You can see the API document here

About

A webapp that shows the portfolio of the most famous cryptocurrency hedge funds. 💰

License:GNU General Public License v3.0


Languages

Language:CSS 59.9%Language:SCSS 29.9%Language:JavaScript 4.4%Language:HTML 3.6%Language:Python 2.2%