38 أسطر
684 B
Markdown
38 أسطر
684 B
Markdown
# Ghaymah CLI Integration
|
|
|
|
## Install Ghaymah CLI
|
|
|
|
```bash
|
|
curl -sSl https://cli.ghaymah.systems/install.sh | bash
|
|
```
|
|
|
|
---
|
|
|
|
## Initialize an Application
|
|
|
|
```bash
|
|
gy resource app init -p <project_id>
|
|
```
|
|
|
|
This command initializes a new application inside an existing Ghaymah project.
|
|
|
|
---
|
|
|
|
## Deploy the Application
|
|
|
|
Ensure a Dockerfile exists in the project directory, then run:
|
|
|
|
```bash
|
|
gy resource app launch
|
|
```
|
|
|
|
The CLI builds the Docker image and deploys the application to Ghaymah Cloud.
|
|
|
|
---
|
|
|
|
## Notes
|
|
|
|
- A Project must be created before initializing an application.
|
|
- The Dockerfile must exist in the project directory.
|
|
- Application settings are stored in `.ghaymah.json`..
|