sst README

The project's README from github.com/anomalyco/sst. As one markdown file: README.md.

SST

Discord npm Build status


Build full-stack apps on your own infrastructure.

Installation

For JavaScript projects, install SST locally so the CLI version is tracked with your app. You can then run the CLI with the same package manager.

npm install sst
# pnpm add sst
# bun add sst
# yarn add sst

If you are not using JavaScript, you can install the CLI globally.

curl -fsSL https://sst.dev/install | bash

To install a specific version.

curl -fsSL https://sst.dev/install | VERSION=0.0.403 bash

To use a package manager, check out our docs.

Manually

Download the pre-compiled binaries from the releases page and copy to the desired location.

Get Started

Get started with your favorite framework:

Learn More

Learn more about some of the key concepts:

Contributing

Here's how you can contribute:

Running Locally

Run bun run setup. You need Go and Bun installed.

Now you can run the CLI locally on any of the examples/ apps.

cd examples/aws-api
go run ../../cmd/sst <command>

If you want to build the CLI binary, run bun run build:cli. This will create a sst binary that you can use.

For building the docs, run bun run docs:generate and bun run docs:dev.


Join our community Discord | YouTube | X.com

sst (anomalyco/sst)

Searching Database…

26.4K ·GitHub
这是什么?SST 是一个用于构建全栈应用的工具,这些应用运行在你自己的云基础设施上,而不会被绑定到某个供应商的平台。你用代码定义应用的基础设施,然后自己部署。
这是 CLI 工具还是云平台?它是一个添加到项目中的 CLI:对于 JavaScript 应用,你用包管理器在本地安装它,使 CLI 版本与应用一同被跟踪;非 JS 项目可以全局安装,或直接下载预编译的二进制文件。
怎样开始一个项目?用包管理器安装 SST CLI(非 JS 项目则全局安装,或从发布页面下载预编译的二进制文件),然后按照你所选框架的入门指南操作。
可以用它部署哪些框架?入门文档开箱即支持 Next.js、Remix、Astro 以及普通的 API 项目。
为什么要部署在自己的基础设施上,而不是使用托管 PaaS?SST 的核心理念就是把全栈应用直接部署到你自己的云基础设施上,因此你可以掌控支撑应用运行的资源,而不必依赖某个供应商的平台。
Creator
anomalyco
Size
165.9 MB
Stars
26.4K
Age
6y
Commits · 90 Days