title | sidebarTitle | icon | description |
---|---|---|---|
😁 Welcome to the Square Platform |
Overview |
book |
Square Cloud is a platform that provides hassle-free, user-friendly enterprise hosting services. Get started in minutes. ✨ |
Once you've signed up, you can start deploying your applications on Square Cloud after selected the plan that suits your needs.
This Overview uses a Square Cloud CLI to deploy your applications. The CLI is a command-line tool that allows you to interact with Square Cloud services. You can use the CLI to deploy applications, manage services, and view logs.
To use the CLI, you need to install it on your local machine. You can install the CLI using the following commands:
```bash macOS, Linux, and WSL curl -fsSL https://cli.squarecloud.app/install | bash ```
npm install -g @squarecloud/cli
yarn global add @squarecloud/cli
My configuration file looks like this:
```systemd
MAIN=index.js
MEMORY=512
VERSION=recommended
DISPLAY_NAME=Robin bot
DESCRIPTION=This bot system is designed to help you with your daily tasks.
```
If you don't like command lines or prefer to use the web interface, you can upload your project directly to the Square Cloud website. To do this, follow these steps:
Access the [Square Cloud dashboard](https://squarecloud.app/dashboard) using your account. After accessing the dashboard, you need to create a configuration file. You can create a [configuration file](/getting-started/config-file) reading this article [here](/getting-started/config-file). After creating the configuration file, you need to zip your project. ```bash Using the CLI squarecloud zip ```Or you can zip your project manually:
<CodeGroup>
```bash Windows
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
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
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>
Or you can use the command line to compress your project folder:
<CodeGroup>
```bash macOS, Linux, and WSL
zip -r my-project.zip .
```
```bash Windows (powershell)
Compress-Archive -Path . -DestinationPath my-project.zip
```
</CodeGroup>
Now that you've learned how to deploy your project, you can explore the Square Cloud platform further. Here are some resources to help you get started:
Learn more about the Square Cloud API. Learn more about the Square Cloud CLI.Join our community on Discord to get help from other developers and share your experiences. <Card title="Square Cloud Community" icon="discord" href="https://discord.gg/squarecloud" color="#7289DA"
Join our community on Discord. We're here to help you!
If you have any questions or need help, you can reach out to our support team. We're here to help you! 🚀