This document describes how to quickly set up a test Bantu Core + Expansion node, that you can play around with to get a feel for how a bantu node operates. This configuration is not secure! It is not intended as a guide for production administration.
For detailed information about running Expansion and Bantu Core safely in production see the Run and API Server and Run a Core Node.
If you're ready to roll up your sleeves and dig into the code, check out the Developer Guide.
Install and run the Quickstart Docker Image
The fastest way to get up and running is using the bantu Quickstart Docker Image. This is a Docker container that provides both bantu-core and Expansion, pre-configured for testing.
Verify your Docker installation works: docker run hello-world
Create a local directory that the container can use to record state. This is helpful because it can take a few minutes to sync a new bantu-core with enough data for testing, and because it allows you to inspect and modify the configuration if needed. Here, we create a directory called bantu to use as the persistent volume: cd $HOME; mkdir bantu
Download and run the bantu Quickstart container, replacing USER with your username:
On a modern laptop this test setup takes about 15 minutes to synchronise with the last couple of days of testnet ledgers. At that point Expansion will be available for querying.
See the Quickstart Docker Image documentation for more details, and alternative ways to run the container.