From d441d9178d197b1a59e50ee9ec1d9b172aa979bf Mon Sep 17 00:00:00 2001 From: Ahmed Hesham Date: Wed, 10 Sep 2025 17:45:28 +0300 Subject: [PATCH] updated Application.md --- Application.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Application.md b/Application.md index 9ae70f1..a0c5a93 100644 --- a/Application.md +++ b/Application.md @@ -6,4 +6,29 @@ what is an application ## creating an application +### step 1: Initialize the Application + +Run the following command to create a new application: +```bash +gy resource app init -p project_id +``` +>If you don’t know your project ID or haven’t created a project yet, see the [[Project]] documentation. +#### Flags + +| Flag | what does it do | comment | +| ------------- | ------------------------- | ------------------------------------ | +| -p project_id | specifies the project id | required | +| -n name | Sets the application name | Optional, defaults to directory name | +### Step 2: Deploy the Application +#### deploying from a Dockerfile + +To deploy using a **Dockerfile**, ensure that: +- A `Dockerfile` exists in the project directory. +- All necessary files referenced by the `Dockerfile` are present in the same directory. + +Once these requirements are met, deploy the application with: +```bash +gy resource app launch +``` +#### Deploying from a git repository ## Configuring the .ghaymah.json -- 2.49.1