brave-intl / bat-go

Pass "go", collect 200 BAT
Mozilla Public License 2.0
41 stars 31 forks source link

Local Development and Testing Environment #2554

Open Sneagan opened 1 month ago

Sneagan commented 1 month ago

Create a fully local environment for the Payment Service including a Worker, Service, Redis, QLDB, and a way to interact with it using the Tooling.

ibukanov commented 1 week ago

The current status: I am prototyping Docker compose setup to run the payment components in local docker containers, https://github.com/brave-intl/bat-go/pull/2572 . The current stumbling block is access to QLDB from the container.

ibukanov commented 6 days ago

The current status: The payment server under testing uses QLDB test ledge and reads secretes from an undecrypted local file. The server starts without errors and serves on localhost. The worker also starts, but reports a redis error. I will focus on fixing those.

ibukanov commented 5 days ago

Status: both service and worker start under docker compose, working on making ipython shell to connect to the test setup.

ibukanov commented 4 days ago

Status: working on integrating ipython shell and making sure that important shell commands works against the payment service and the worker running in a local container.