Git Product home page Git Product logo

Connect

Screenshot

Cryptoasset portfolio management app

Note: This repository is no longer active.


Prerequisites

  • Docker installed on your system.

Quick Start

Clone this repository:

❯ git clone https://github.com/polyledger/polyledger.git

You must install the web client's dependencies before running the application in Docker:

❯ cd polyledger/web_client && npm install

You will need a file containing your environment variables (either .env.development or .env.production) at the project root. The contents should contain these variables:

SECRET_KEY=<secret_key>
PYTHON_ENV=<development|production>
EMAIL_HOST_PASSWORD=<email_host_password>
DJANGO_SETTINGS_MODULE=polyledger.settings.<local|production>

Now you can build the Docker containers:

❯ cd .. && docker-compose build

Development

Start the development services:

❯ docker-compose up

If you have fresh volumes and containers, you can pre-populate the database. It will create a user that can log into the app and admin interface. Just run these commands in a separate shell:

❯ container_id=$(docker-compose ps -q server)
❯ docker exec -it $container_id python manage.py loaddata initial_data.json --app api

If you pre-populate the database, 10 coins will also be created. To fetch prices, run the following:

❯ docker exec -it $container_id python manage.py shell

This will launch an interactive Python shell. You can call the task to fetch prices:

>>> from api.tasks import fill_historical_prices
>>> fill_historical_prices()

Production

Start the production services:

❯ docker-compose -f production.yml up

Polyledger's Projects

bitbutter-python icon bitbutter-python

Unofficial Bitbutter Python client for accessing crypto exchange/trade data

coinage icon coinage

Cryptocurrency market data JavaScript library

connect icon connect

Connect your digital currency accounts into one unified platform

contracts icon contracts

Ethereum smart contracts for the Polyledger protocol

lattice icon lattice

Wallet, market data, backtesting, & portfolio optimization library

ops icon ops

Infrastructure as code

pulse icon pulse

Crypto price tracking app for macOS

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.