Quick Start
Overview#
This document provides a step-by-step guide for installing and using the Gritiva agent. Follow the instructions carefully to ensure a successful setup.
Before you begin, ensure you have the following:
- A valid enrollment token
- Access to a terminal with sudo privileges
- Basic knowledge of command-line operations
Installation#
Follow these steps to install the Gritiva agent:
Step 1: Download#
Run the following command to download and install the Gritiva agent:
BASH curl -fsSL https://get.gritiva.com/agent | sudo bash -s -- --token <ENROLL_TOKEN>
Step 2: Setup#
After installation, set up your application scope and domain:
BASH gritivactl scope create my-app --cpu 2 --mem 4G
BASH gritivactl scope exec my-app -- docker compose up -d
BASH gritivactl domain add app.example.com --scope my-app --port 8080
Quick Usage Guide#
Once the Gritiva agent is installed, you can start managing your applications using the Gritiva CLI. Refer to the official documentation for advanced usage and commands.
Troubleshooting#
If you encounter issues during installation or usage, consider the following common problems:
- Ensure your enrollment token is valid.
- Check your internet connection.
- Verify that you have the necessary permissions to run the commands.
FAQs#
Q: What is the Gritiva agent?
A: The Gritiva agent is a lightweight tool for managing applications in a cloud environment.
Q: Can I run multiple instances of the agent?
A: Yes, you can create multiple scopes for different applications.
Open Questions
Open QuestionsWhat additional features should be highlighted in the documentation? What specific user scenarios should be included in the quick usage guide?