Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/germainlefebvre4/cryptobot-controller

Project to self-host a cryptobot farm based on whittlem pycryptobot. Main entry at germainlefebvre4 cryptobot-project.
https://github.com/germainlefebvre4/cryptobot-controller

Last synced: 15 days ago
JSON representation

Project to self-host a cryptobot farm based on whittlem pycryptobot. Main entry at germainlefebvre4 cryptobot-project.

Awesome Lists containing this project

README

        

# Cryptobot Controller

## Getting started
Install required packages:
```bash
sudo apt update
sudo apt install python3-pip python3-dev
pip install pipenv
```

Run the app:
```bash
pipenv update
pipenv run uvicorn app.main:app --port=8081 --reload
```

**Troubleshooting**

Some distributions might miss some packages. These are some hints if needed:
```bash
# cryptography/cffi
sudo apt install build-essential libssl-dev libffi-dev
```

## Development

### Setup workspace
```bash
sudo apt update
sudo apt install python3-pip python3-dev
pip install pipenv
pipenv update --dev
```

### Run locally
This section use docker database called `cryptobot`.
```bash
pipenv run uvicorn app.main:app --port=8081 --reload
```

### Run tests
This section use docker database called `cryptobot_test`.
```bash
pipenv run pytest -sv app/tests/
```