Skip to content

trevtravtrev/CoinSense

Repository files navigation


CoinSense

Real-time cryptocurrency portfolio tracker.

CoinSense

Table of Contents
  1. Prerequisites
  2. Clone the Repository
  3. Run the Code
  4. Additional Tools

Prerequisites

  • Python (latest version)
    • If using windows, in the python installer make sure to select the "Add Python to PATH" option
  • Pycharm (optional)

Clone the Repository

Option 1: via Command Line Interface

  • Install GitHub CLI (if not already installed)
    git clone https://github.com/trevtravtrev/CoinSense
    

Option 2: via GitHub Desktop

  1. Install GitHub Desktop (if not already installed)
  2. Follow instructions here to clone

Run the Code

Option 1: Poetry (recommended)

  1. Install Poetry (if not already installed)
pip install poetry
  1. Install CoinSense dependencies
cd CoinSense
poetry install
  1. Run CoinSense
poetry run python main.py

Option 2: Docker

Docker is the easiest way to get CoinSense running, but you lose the pretty colors and formatting in the CLI. Docker, by default, just pipes the raw CLI data to its own unformatted CLI output in the docker desktop interface. For the best experience, option 1 (via poetry) is recommended.

  1. Install Docker Desktop (if not already installed)
  2. Open Docker Desktop
  3. Build the Docker image:
cd CoinSense
docker build -t coinsense .
  1. Run the Docker container:
docker run coinsense

Option 3: requirements.txt

  1. Create the virtual environment:
cd CoinSense
python -m venv venv
  1. Activate the virtual environment:
  • For Windows:
venv\Scripts\activate
  • For macOS/Linux:
source venv/bin/activate

Once activated, you will notice that the prompt in your terminal or command prompt changes to indicate that you are now working within the virtual environment.
3. Install CoinSense dependencies

pip install -r requirements.txt
  1. Run CoinSense
python main.py

Additional Tools

All CoinSense code was formatted, linted, and secured with the following tools:

About

CLI tool for real-time crypto portfolio tracking.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published