このプロジェクトは、ABAN Tether の実装タスクです。目標は、特定の条件下で取引所または暗号通貨取引所からの注文書を登録するための API を設計することです。
リポジトリのクローンを作成します。
git clone https://github.com/amir-mhp/aban-tether-task.git
cd aban-tether-exchange
Docker イメージを構築します。
docker build -t abantether/core .
サービスを開始します。
docker-compose up -d
データベース移行を実行します。
docker-compose run --rm core alembic upgrade head
デフォルトの通貨を追加: :
docker-compose run --rm core python pre_deploy/add_default_currency.py
アプリケーションにアクセスします。
アプリケーションは http://localhost:8005 で実行されます。