メインコンテンツへスキップ

Square Cloud のサービス 🚀

Square Cloud は、開発者にやさしいプラットフォームとなるようにゼロから設計されました。プラットフォームは、アプリケーションを迅速かつ安全にデプロイするために使用できるさまざまなサービスで構成されています。

ボットホスティング。

ボットを Square Cloud にデプロイして、ボットホスティングに最適なソリューションを手に入れましょう。 Square は最も有名なプラットフォームに対して戦略的なロケーションを提供し、低レイテンシと高可用性を保証します。

ウェブホスティング。

ウェブアプリケーションを Square Cloud にデプロイして、ウェブホスティングに最適なソリューションを手に入れましょう。 私たちは、最高のパフォーマンスとセキュリティを確保するために、プレミアムな Cloudflare 統合、高速な DNS、そして Web Application Firewall(WAF)を提供します。

サーバーレスストレージ、Blob Storage。

Square Cloud にデータを保存して、サーバーレスストレージの利点を享受しましょう。 私たちのストレージサービスは、シンプルで、スケーラブルで、コスト効率が高くなるように設計されています。

始める前に

まずは Square Cloud アカウントを作成してください。その後、あなたに最適なプランを選択できます。

サインアップ

Square を初めてご利用の場合は、サインアップして始めましょう。

ログイン

すでにアカウントをお持ちの場合は、ログインして始めましょう。

プロジェクトをアップロードする 😁

以下に示すように、いくつかの簡単な手順でプロジェクトを Square Cloud にアップロードできます。
1

まず、お使いの言語に関する説明を読んでください:

JavaScript

Python

Java

Rust

Elixir

PHP

Go

C#

Ruby

この例では、JavaScript(Node.js)言語を使用します。
2

次に、Square Cloud の設定ファイルを作成します。

ダッシュボードにアクセスした後、設定ファイルを作成する必要があります。設定ファイルは、こちらの記事を読んで作成できます。
Example of a config file for a bot
MAIN=index.js
MEMORY=512
VERSION=recommended
DISPLAY_NAME=Batman bot
DESCRIPTION=This bot is the dark knight of the night.
Example for website. (URL: "batman.squareweb.app")
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.
3

そして、プロジェクトを ZIP 圧縮します。

設定ファイルを作成した後、プロジェクトを zip 圧縮する必要があります。
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.
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.
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.
4

最後に、プロジェクトをアップロードします。 😉

プロジェクトをアップロードした後、「Add New」ボタンをクリックしてプロジェクトをデプロイします。