Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.01 KB

README.md

File metadata and controls

61 lines (44 loc) · 1.01 KB

Examples of let.sh

How To Use

Install command line tools

Open your terminal, copy the the command below and run it:

# install cli
# optional: you can use npm or yarn instead: `npm install -g @letsh/cli` or `yarn global add @letsh/cli`
curl -o- -sL https://install.let.sh.cn/install.sh | bash

Login

# login with your github account
lets login

Then clone example project and deploy with a single command line

Static hosting

git clone https://github.com/let-sh/example
cd static
lets deploy -t static

React

git clone https://github.com/let-sh/example
cd react
lets deploy -t react

Node express framework

git clone https://github.com/let-sh/example
cd express
lets deploy -t express

Golang gin framework

git clone https://github.com/let-sh/example
cd gin
lets deploy -t gin

Link the domain to the project

# you can custom xxxx.let.sh with any other domain ending with let.sh
lets link xxxx.let.sh