> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# 快速开始

> 借助 Square Cloud，在几分钟内从零变身高手。本指南将帮助你上手 Square Cloud，并领略我们平台的强大之处。

## Square Cloud 服务 🚀

Square Cloud 从设计之初就致力于打造一个对开发者友好的平台。该平台由多种服务组成，可用于快速且安全地部署应用。

<Card title="机器人托管。" href="/zh/services/bots">
  将你的机器人部署到 Square Cloud，获得最佳的机器人托管解决方案。
  Square 为最知名的平台提供了战略性的地理位置，确保低延迟和高可用性。
</Card>

<Card title="Web 托管。" href="/zh/services/sites">
  将你的 Web 应用部署到 Square Cloud，获得最佳的 Web 托管解决方案。
  我们提供优质的 Cloudflare 集成、快速的 DNS，以及 Web 应用防火墙（WAF），以确保最佳的性能和安全性。
</Card>

<Card title="Serverless 存储，Blob Storage。" href="/zh/services/blob">
  使用 Square Cloud 存储你的数据，享受 serverless 存储带来的优势。
  我们的存储服务设计简单、可扩展且经济高效。
</Card>

## 开始之前

要开始使用，请先创建一个 Square Cloud 账户。然后你可以[选择适合你的方案](https://squarecloud.app/zh/pricing)。

<CardGroup>
  <Card title="注册" icon="user-plus" href="https://squarecloud.app/zh/signup" color="#95979b">
    如果你以前从未使用过 Square，请注册以开始使用。
  </Card>

  <Card title="登录" icon="right-to-bracket" href="https://squarecloud.app/zh/signin" color="#95979b">
    如果你已经拥有账户，请登录以开始使用。
  </Card>
</CardGroup>

## 上传你的项目 😁

你可以通过以下几个简单步骤将项目上传到 Square Cloud：

<Steps>
  <Step title="首先，阅读关于你所用语言的说明：">
    <CardGroup cols={3}>
      <Card title="JavaScript" icon="node-js" href="../articles/getting-started-with-nodejs" />

      <Card title="Python" icon="python" href="../articles/getting-started-with-python" />

      <Card title="Java" icon="java" href="../articles/getting-started-with-java" />

      <Card title="Rust" icon="rust" href="../articles/getting-started-with-rust" />

      <Card title="Elixir" icon="droplet" href="../articles/getting-started-with-elixir" />

      <Card title="PHP" icon="php" href="../articles/getting-started-with-php" />

      <Card title="Go" icon="golang" href="../articles/getting-started-with-go" />

      <Card title="C#" icon="c" href="../articles/getting-started-with-csharp" />

      <Card title="Ruby" icon="gem" href="../articles/getting-started-with-ruby" />
    </CardGroup>

    <Info>在本示例中，我们将使用 JavaScript（Node.js）语言。</Info>
  </Step>

  <Step title="然后，创建你的 Square Cloud 配置文件。">
    访问控制面板后，你需要创建一个配置文件。你可以阅读[这篇文章](https://docs.squarecloud.app/zh/getting-started/config-file)来创建[配置文件](https://docs.squarecloud.app/zh/getting-started/config-file)。

    ```systemd Example of a config file for a bot theme={null}
    MAIN=index.js
    MEMORY=512
    VERSION=recommended
    DISPLAY_NAME=Batman bot
    DESCRIPTION=This bot is the dark knight of the night.
    ```

    ```systemd Example for website. (URL: "batman.squareweb.app") theme={null}
    MAIN=index.js
    MEMORY=512
    VERSION=recommended
    SUBDOMAIN=batman
    START=npm run build && npm run start
    DISPLAY_NAME=Batman website
    DESCRIPTION=This website is the dark knight of the night.
    ```
  </Step>

  <Step title="接着，将你的项目打包成 ZIP。">
    创建配置文件后，你需要将项目压缩成 zip。

    <CodeGroup>
      ```bash Windows theme={null}
      1. Locate the file or folder that you want to zip.
      2. Press and hold (or right-click) the file or folder, select (or point to) Send to, and then select Compressed (zipped) folder.
      3. A new zipped folder with the same name is created in the same location. To rename it, press and hold (or right-click) the folder, select Rename, and then type the new name.
      ```

      ```bash Linux theme={null}
      1. Locate the file or folder that you want to zip.
      2. Right-click the file or folder, then choose Compress from the shortcut menu.
      3. A new zipped folder with the same name is created in the same location. To rename it, press and hold (or right-click) the folder, select Rename, and then type the new name.
      ```

      ```bash macOS theme={null}
      1. Locate the file or folder that you want to zip.
      2. Control-click the file or folder, then choose Compress from the shortcut menu.
      3. A new zipped folder with the same name is created in the same location. To rename it, press and hold (or right-click) the folder, select Rename, and then type the new name.
      ```
    </CodeGroup>
  </Step>

  <Step title="最后，上传你的项目。😉">
    上传项目后，点击 “Add New” 按钮来部署你的项目。
  </Step>
</Steps>
