the name of this project can be changed in the future when i have a better idea
Runner is a simple project for deploying a instance on vultr and deploy a api (api_runner) on it. When the instance is deployed, the api will be available at the ip of the instance and you can use it to deploy github repository on the instance (the repository must contain a Dockerfile).
An cli is included with runner to interact with the api.
you need to have go 1.21.1 or higher installed on your machine.
git clone https:://github.com/tot0p/runner.git
cd runner
go build .and you need to create a .env file in the root of the binary with the following content:
touch .env && echo "API_KEY=YOUR_API_KEY_OF_VULTR" >> .envyou can get your api key from vultr
./runnerand the program will be deployed on the instance and the api will be available at the ip of the instance.
all step was written in the terminal.
when the instance is deployed, you can use the cli to interact with the api.
you can enter help to see all the available commands.
and there are hidden commands that name is
logs, this command will show you the logs of the instance.
Little update coming soon, for the project to be more user-friendly and beautiful.