Serverless Practices — Quickly Build a SpringBoot Application

Preface

Environment Preparation

Quick Deployment

1. Initialize a project

fun init -n SpringBootDemo

2. Compile the project locally

fun build

3. Run the project locally

fun local start demo-springboot

4. Perform local single-step debugging

5. Package and deploy the project

fun package --oss-bucket fun-local-test
fun deploy --use-ros --stack-name staging

Original Source:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com