diff --git a/docs/quickstart.mdx b/docs/quickstart.mdx index b389eeff..528cc8b5 100644 --- a/docs/quickstart.mdx +++ b/docs/quickstart.mdx @@ -20,9 +20,6 @@ Deploy your first application on the Suga platform in just a few steps. The Suga ``` Select a template that matches your use case: - - You can make your own templates too. - ```bash Welcome to Suga, this command will help you create a project from a template. If you already have a project, run suga init instead. @@ -38,40 +35,6 @@ Deploy your first application on the Suga platform in just a few steps. The Suga ✓ Project created! ``` - - Navigate to your project and install dependencies: - - ```bash title="Navigate to Project" icon="folder" - cd my-first-app - ``` - - - - ```bash title="Install Dependencies" icon="package" - npm install - ``` - - - ```bash title="Install Dependencies (uv)" icon="package" - uv sync - ``` - - Or with pip: - ```bash title="Install Dependencies (pip)" icon="package" - pip install -r requirements.txt - ``` - - - ```bash title="Install Dependencies" icon="package" - go mod tidy - ``` - - - - - Your project structure will include `suga.yaml` for configuration, service code, and language-specific dependencies. - - @@ -148,6 +111,44 @@ Deploy your first application on the Suga platform in just a few steps. The Suga + + Navigate to your project and install dependencies: + + ```bash title="Navigate to Project" icon="folder" + cd my-first-app + ``` + + + + ```bash title="Install Dependencies (node)" icon="cube" + suga generate --ts --ts-out ./suga/client + npm install + ``` + + + ```bash title="Install Dependencies (uv)" icon="cube" + suga generate --python --python-out ./suga_gen + uv sync + ``` + + Or with pip: + ```bash title="Install Dependencies (pip)" icon="cube" + suga generate --python --python-out ./suga_gen + pip install -r requirements.txt + ``` + + + ```bash title="Install Dependencies (go)" icon="cube" + suga generate --go --go-out ./suga --go-package-name suga + go mod tidy + ``` + + + + + Your project structure will include `suga.yaml` for configuration, service code, and language-specific dependencies. + + Start the development server: ```bash title="Start Development Server" icon="play"