Giter Club home page Giter Club logo

start-fc-kodbox's Introduction

Serverless NAS+OSS UI文件管理系统案例

快速部署和体验Serverless架构下的 UI FileManager 项目

体验前准备

该应用案例,需要您开通阿里云函数计算 产品;并建议您当前的账号有一下权限存在FCDefaultRole

代码与预览

快速部署和体验

在线快速体验

  • 通过阿里云 Serverless 应用中心: 可以点击 【🚀 部署】 ,按照引导填入参数,快速进行部署和体验。
  • 通过阿里云 CloudShell:可以点击 【🏄 部署】 ,按照引导填入参数,快速进行部署和体验。

在本地部署体验

  1. 下载安装 Serverless Devs:npm install @serverless-devs/s

    详细文档可以参考 Serverless Devs 安装文档

  2. 配置密钥信息:s config add

    详细文档可以参考 阿里云密钥配置文档

  3. 初始化项目:s init start-fc-kodbox -d start-fc-kodbox
  4. 进入项目后部署:s deploy
  5. 部署过程中可能需要阿里云密钥的支持,部署完成之后会获得到临时域名可供测试

浏览器打开域名登录,默认初始化账号和密码是 admin/admin, 您可以登录后, 就得到一个 web 版 windows 用户体验的文件管理系统

在本地使用该项目时,不仅可以部署,还可以进行更多的操作,例如查看日志,查看指标,进行多种模式的调试等,这些操作详情可以参考函数计算组件命令文档 ;

项目使用注意事项

  1. 项目Yaml中,声明了actions,并且将 Web UI FileManager 工程上传到 NAS,执行函数的时候, nginx 配置 root /mnt/nas/.fc-nas-filemgr; 指定了 web 的目录在 NAS 上。
  2. 该示例中默认使用 sqlite 数据库 (位于 NAS)

应用详情

本项目是将世界上最好用的 UI FileManager 项目部署到阿里云 Serverless 平台(函数计算 FC)。

通过 Serverless Devs 开发者工具,您只需要几步,就可以体验 Serverless 架构,带来的降本提效的技术红利。

部署完成之后,您可以看到系统返回给您的案例地址,例如:

图片alt

此时,打开案例地址, 使用 admin/admin 登录:

添加 OSS Bucket 管理:

参考

使用开源的 UI 文件管理系统: https://github.com/kalcaddle/kodbox


start-fc-kodbox's People

Contributors

lowkeyrd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.