How to run Althea testnet locally using Docker
This guide will show how to run a local testnet for Althea using Docker.
I’m starting with a clean Ubuntu install.
- Ubuntu 22.10
- Follow the instructions Things to do after installing Ubuntu > Docker to set it up.
- Make sure that you are using
Docker Desktop. I wasn’t able to run it using
Docker Desktop, and upon suggestion by Althea developer, using
docker-ceresults in all tests succeeding.
# Install Wireguard
# Clone Repo
# Run bash script
Make sure that you’re in the
This will build a Docker image, using the
althea_rs repository, and configure all the different components needed to run Althea. In the end, it will run a Docker container and open the
bash shell, where all the required dependencies and environment variables have been set.
Whenever you want to launch into the development environment, you’ll have to execute the above script.
To test that everything is set up correctly, run the following integration test inside the container shell:
This command will execute the official integration tests of
althea_rs repository, testing the integration of different components. If all tests pass, you can be sure that everything is set up correctly.
# Environment Variables
Values of different environment variables can be changed in