Skip to content

基于阿里云函数计算的 Serverless 短链接/短网址系统

License

Notifications You must be signed in to change notification settings

liudding/shorturl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shorturl 基于阿里云云函数的短链接系统

一款轻量级的 Serverless 短链接系统,直接部署到阿里云函数计算,无需独立购买服务器。

安装部署

  1. 安装 Serverless Dev 并登录你的阿里云账号
  2. 创建数据库,并按 db.sql 创建表
  3. 根据你的实际情况,配置 s.yamlconfig.php
  4. 安装 php 依赖。可以使用 s build --use-sandbox 或者手动 composer install 都行
  5. 执行 s deploy 开始部署
  6. 在阿里云函数计算中为此云函数配置自定义域名
  7. 完成