# GoDisk **Repository Path**: opsfast/GoDisk ## Basic Information - **Project Name**: GoDisk - **Description**: 基于beego框架开源的云存储应用,支持本地存储,七牛云,又拍云,阿里云OSS,腾讯云COS - **Primary Language**: Go - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: http://xblogs.cn:8080 - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 42 - **Created**: 2019-01-10 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GoDisk > 一个基于beego构建的web存储应用,帮你快速部署存储服务。目前已集成七牛云,又拍云,阿里云OSS,腾讯云COS对象存储 ## 1. 如何使用这个服务   1. 首先,确认已经安装好golang语言环境   2. 执行一下命令,安装一些依赖包与框架(建议使用[gopm](https://gopm.io/)进行包管理) ```bash # 框架必要包 以下包的安装都是必要的 否则编译不会通过 go get github.com/astaxie/beego go get github.com/mattn/go-sqlite3 go get github.com/jmoiron/sqlx # 七牛云对象存储API包 go get github.com/qiniu/api.v7 # 又拍云对象存储API包 go get github.com/upyun/go-sdk/upyun # 腾讯云对象存储API包 go get -u github.com/tencentyun/cos-go-sdk-v5 # 阿里云对象存储API包 go get -u github.com/aliyun/aliyun-oss-go-sdk/oss # 官方协助快速开发工具 bee go get github.com/beego/bee ``` 假若网络原因,无法使用以上命令,请单独下载[master.zip](https://gitee.com/xuthus5/GoDisk/attach_files)资源包,直接解压放到 ```$GOPATH/``` 目录下即可,里面包含有所有的依赖   3. 启动项目    进入项目 执行 ```go run main.go``` 启动项目,通过bee工具,在项目下执行 ```bee run```   4. 访问 (默认端口8080,更改端口,请修改 conf/app.conf 》httpport选项)    访问: http://ip:8080 # 演示地址 + [后台演示](http://xblogs.cn:8080/login) + 账号密码 admin/admin(请勿修改账户信息) # 演示截图 ![本地上传](http://dl.xuthus.cc/godisk-local.png) ![七牛云上传](http://dl.xuthus.cc/godisk-qiniu.png) ![网站配置](http://dl.xuthus.cc/godisk-set.png)