Coder Social home page Coder Social logo

thnineer / cloudreve Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudreve/cloudreve

0.0 1.0 0.0 3.77 MB

A project helps you build your own cloud in minutes.

Home Page: https://cloudreve.org

License: GNU General Public License v3.0

PHP 58.57% HTML 10.27% CSS 2.01% JavaScript 27.98% PLpgSQL 0.12% Shell 0.02% Smarty 1.04%

cloudreve's Introduction

logo_white.png

Cloudreve - Make the cloud easy for everyone

Packagist Latest Unstable Version License

基于ThinkPHP构建的网盘系统,能够助您以较低成本快速搭建起公私兼备的网盘。

homepage.png

目前已经实现的特性:

  • 快速对接多家云存储,支持七牛、又拍云、阿里云OSS、AWS S3,当然,还有本地存储
  • 可限制单文件最大大小、MIMEType、文件后缀、用户可用容量
  • 图片、音频、视频、文本、Markdown、Ofiice文档 在线预览
  • 移动端全站响应式布局
  • 文件、目录分享系统,可创建私有分享或公开分享链接
  • 用户个人主页,可查看用户所有分享
  • 多用户系统、用户组支持
  • 初步完善的后台,方便管理
  • 拖拽上传、分片上传、断点续传、下载限速(*实验性功能)
  • 多上传策略,可为不同用户组分配不同策略
  • 用户组基础权限设置
  • WebDAV协议支持

安装需求

  • LNMP/AMP With PHP5.6+
  • curl、fileinfo、gd扩展
  • Composer

简要安装说明

1.克隆代码

git clone https://github.com/HFO4/Cloudreve.git
cd Cloudreve

2.安装依赖库

composer install

3.配置MySQL

将根目录下的mysql.sql到入到你的数据库,编辑application/database_sample.php文件,填写数据库信息,并重命名为database.php

4.URL重写

对于Apache服务器,项目目录下的.htaccess已经配置好重写规则,如有需求酌情修改. 对于Nginx服务器,以下是一个可供参考的配置:

location / {
   if (!-e $request_filename) {
   rewrite  ^(.*)$  /index.php?s=/$1  last;
   break;
    }
 }

5.完成

后台地址:http://您的域名/Admin 初始用户名:[email protected] 初始密码:admin

后续操作

以下操作不是必须的,但仍推荐你完成这些操作:

  • 修改初始账户密码
  • 到 设置-基础设置 中更改站点URL,如果不更改,程序无法正常接受回调请求
  • 添加Crontab定时任务 :你的域名/Cron
  • 如果你打算使用本地上传策略并且不准备开启外链功能,请将·public/uploads·目录设置为禁止外部访问
  • 如需启用二步验证功能,请执行composer require phpgangsta/googleauthenticator安装二步验证支持库
  • 给本项目一个Star~

许可证

GPLV3

cloudreve's People

Contributors

hfo4 avatar yrccondor avatar

Watchers

James Cloos 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.