test-consul - Run a Consul server for testing
# run a simple server (not unlike 'consul agent -dev') $ test-consul
consul-test runs a test consul instance on your local computer, that you can then manipulate with the normal consul program. Useful for trying things out!
consul-test
consul
The TCP port for HTTP API endpoint. By default this is 8500, which is what the standard consul client program expects.
8500
Set the node name. If not supplied, a random one will be generated.
Set the datacenter name. If not supplied, a random one will be generated.
Test::Consul
To install Test::Consul, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Consul
CPAN shell
perl -MCPAN -e shell install Test::Consul
For more information on module installation, please visit the detailed CPAN module installation guide.