14 الالتزامات

المؤلف SHA1 الرسالة التاريخ
78fc97dd09 updated sidebar width 2025-09-11 17:51:35 +03:00
d8703e829e added some settings and added search bar 2025-09-11 17:15:40 +03:00
e1d8319337 fixed sidebar paths 2025-09-11 17:15:06 +03:00
a1ef213e13 added _sidebar.md 2025-09-11 16:40:47 +03:00
ca4519ba8d added updated getting started 2025-09-11 16:40:12 +03:00
cbdef4e410 added dockerfile and index.html 2025-09-11 16:33:06 +03:00
5e278db3c3 Updated 2025-09-11 09:47:29 +00:00
2390c1053e application updated 2025-09-11 12:43:20 +03:00
bfe2c40491 ghaymah project commands 2025-09-10 23:49:59 +03:00
ahmedgamalyousef
471e679333 Updating Project.md File 2025-09-10 19:03:29 +03:00
dfca1c588a Update Project.md 2025-09-10 15:47:33 +00:00
6a6c84a061 Update Project.md 2025-09-10 15:43:43 +00:00
9860eda638 Delete GhaymahCLI.md 2025-09-10 15:41:34 +00:00
6f3ee9f989 Merge pull request 'updated Application.md' (#2) from ahmedhesham301/Ghaymah_Cloud_Docs:main into main
Reviewed-on: AhmedGamalYousef/Ghaymah_Cloud_Docs#2
2025-09-10 15:10:13 +00:00
8 ملفات معدلة مع 210 إضافات و39 حذوفات

عرض الملف

@@ -1,8 +1,28 @@
# Application
## What is an Application?
what is an application
When working with the Ghaymah CLI, an **Application** is the central resource youll interact with.
Its not just source code—its a deployable unit wrapped in a container, ready to run anywhere.
Think of an Application as the thing you **create, launch, update, and monitor** through the CLI.
Everything else—like containers, configs, and logs—revolves around it.
> **Note:** A **Project must be created first** before you can initialize or launch an Application.
> The Project acts as the parent workspace that organizes your Applications and related resources.
---
# Basic Usage
```bash
gy resource app [command]
```
Aliases: app, a
> **Tip:** You can use -h or --help to see all available options.
```bash
gy resource app --help
```
## Requirement
## creating an application

6
Dockerfile Normal file
عرض الملف

@@ -0,0 +1,6 @@
FROM node:18-alpine
WORKDIR /app
RUN npm install -g docsify-cli
COPY . .
EXPOSE 3000
CMD ["docsify", "serve", ".","-p", "3000"]

عرض الملف

@@ -1,36 +1,96 @@
# بسم الله الرحمن الرحيم
# Getting Started with Ghaymah CLI
This topic describes how to install the latest release of **Ghaymah Command Line Interface (Ghaymah CLI)** on supported operating systems.
> **Note:** Ghaymah CLI is currently supported only on **Linux**.
---
To install the cli , run the following command:
## Ghaymah CLI Install Instructions
### Installation
#### **Step 1:** Download & Install
Run the following command to install the latest release of the Ghaymah CLI:
```bash
curl -sSl https://cli.ghaymah.systems/install.sh | bash
```
Run
#### **Step 2:** Update PATH
Add the CLI to your PATH and reload your shell configuration:
```bash
echo 'export PATH=$HOME/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
```
#### **Step 3:** Verify Installation
Check that the CLI is installed correctly:
```bash
gy version
```
You should see the version number of the installed Ghaymah CLI:
```bash
Current version: xx.xx.xx
Latest version: xx.xx.xx
✅ You are using the latest version!
```
---
### Enable Auto-Completion
#### **Step 1:** Check Your Shell
Run the following command to check which shell you are using:
```bash
echo $SHELL
```
supported shells:
Supported shells: **bash**, **zsh**, **fish**
> **Supported shells:** `bash`, `zsh`, `fish`
### Step 2: Generate the completion script
#### **Step 2:** Enable Shell Completion
For Bash, run:
Enable shell completion to get command suggestions and auto-completion.
**For Bash**, run:
```bash
gy completion bash >> ~/gy-completion.sh
```
### Step 3: Enable command completion
Run
Then add the generated completion script to your shell configuration:
```bash
echo "source ~/gy-completion.sh" >> ~/.bashrc
```
Then restart your terminal
> **Important:** Restart your terminal after completing this step
---
### Authentication
Before using the Ghaymah CLI, you need to authenticate your account.
If you don't have an account yet, you can create one by visiting the Ghaymah website:
[Ghaymah systems](https://ghaymah.systems/)
After creating your account, return to the CLI and run the following command to log in.
```bash
gy auth login
```
You will be prompted to enter your email and password:
```bash
Email:
Password:
```

عرض الملف

@@ -1,21 +0,0 @@
# بسم الله الرحمن الرحيم
# Ghaymah CLI
## OverView
### What is Ghaymah CLI ?
### Get started
## Installation
### Install - Linux
> **Note:** Ghaymah CLI is currently supported only on **Linux**.
To install the cli , run the following command:
```bash
curl -sSl https://cli.ghaymah.systems/install.sh | bash
```
### Install - Windows
### Install - MacOS
## Authentication & Security
## Tutorials

عرض الملف

@@ -1,3 +1,39 @@
# Project
## Creating a project
## Getting a project ID
## Create project
```
gy resource project create --set .name="project_name"
```
Or
```bash
gy r p c --set .name="project_name"
```
## List the projects :
```bash
gy resource project get
```
Or
```bash
gy r p g
```
## Update on exiting project :
```bash
gy resource project update project_ID --set .name="new_name"
```
Or
```bash
gy r p u update project_ID --set .name="new_name"
```
## Delete project :
```bash
gy resource project delete project_ID
```
Or
```bash
gy r p d project_ID
```

6
_sidebar.md Normal file
عرض الملف

@@ -0,0 +1,6 @@
- [Getting Started](Getting%20started.md)
- Features
<!-- - [Integrations](features/integrations.md) -->
- [Projects](Project.md)
- [Application](Application.md)

25
gy_project Normal file
عرض الملف

@@ -0,0 +1,25 @@
create project
> gy resource project create --set .name="project_name"
Aliases:
> gy r p c --set .name="project_name"
list the projects:
> gy resource project get
Aliases:
> gy r p g
update om project:
> gy resource project update project_ID --set .name="new_name"
Aliases:
> gy r p u update project_ID --set .name="new_name"
Delete project:
> gy resource project delete project_ID
Aliases:
> gy r p d project_ID

39
index.html Normal file
عرض الملف

@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no, viewport-fit=cover" />
<!-- <meta name="description" content=""> -->
<title>Ghaymah cloud documentation</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable/dist/css/theme-simple-dark.css" />
<!-- Custom Styles -->
<style>
:root {
--sidebar-width: 20rem;
}
</style>
</head>
<body>
<div id="app">Loading...</div>
<script>
window.$docsify = {
name: "Ghaymah Docs",
loadSidebar: true,
subMaxLevel: 3,
};
</script>
<!-- Required -->
<script src="https://cdn.jsdelivr.net/npm/docsify@4/lib/docsify.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/js/docsify-themeable.min.js"></script>
<!-- Recommended -->
<script src="https://cdn.jsdelivr.net/npm/docsify@4/lib/plugins/search.js"></script>
</body>
</html>