8000 GitHub - kostmetallist/assets-compass: Tracker for financial data
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kostmetallist/assets-compass

Repository files navigation

Assets Compass

Tracker for financial data.

Run Instructions

Configuration

Make sure the root directory contains file named .env with all variables initialized:

DB_USER=<set_username>
DB_PASS=<set_password>
...

When running fully containerized stack, make sure to specify service names for hostnames in the corresponding env vars, e.g. redis for REDIS_HOST.

Services

docker-compose up

DB Dashboard

GUI for DBMS is available at port 5433. To connect to the database, fill in all the details from .env, and use host.docker.internal as the host.

Migrations

alembic upgrade head

Celery

To start the worker instance:

celery -A src.tasks.tasks:celery worker --loglevel=INFO --pool=solo

To enable a web interface for background tasks:

celery -A src.tasks.tasks:celery flower

By default, the dashboard is accessible on localhost:5555.

Web Application

poetry shell
uvicorn src.main:app --reload

Notes

  • By default, the application is available at port 8000
  • See autogenerated docs at /redoc endpoint
  • When calling /login endpoint to authorize, use email as the username

About

Tracker for financial data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0