Building from Source

Building from source with Go

To build the server you will need to have Go installed and all the requirements for Go ready.

Go simplifies the build, so to be able to build and use all you need to do is clone the repo from the following link: https://github.com/ywadi/crimsonq

Make sure to change the configuration as needed, the configuration is the file crimson.config and is a yaml file. See more about configuration on the Server Configuration page.

Once it is cloned, you will need to build it as follows;

cd crimsonq 
go build . 
sudo ./crimsonq 

This will generate and run the server binaries for you.

To also be able to use the CLI you can build the crimsonq-cli as follows;

cd crimsonq/cmd
go build . 
mv cmd crimsonq-cli
ln -s crimsonq-cli /bin/

This will build the cli and add it to your bin so you can call crimsonq-cli from any path now, for more information about the cli, you can go to the Crimsonq-Cli page.

Last updated

Was this helpful?