Giter VIP home page Giter VIP logo

gryen-gtd's Introduction

Gryen-GTD

gryen-gtd 是一个界面简洁的 web 端个人 gtd app。基于 Laravel 开发,提供博客发布、任务列表等功能。

Deploy StyleCI Packagist Awesome Laravel

目录

页面一览

笔记列表

笔记列表

笔记详情

笔记详情

笔记编辑

笔记编辑

运行环境

  • 正确搭建 PHP 站点运行环境(PHP 8.0 及以上版本),推荐 OpenResty(Nginx) + PHP + MariaDB;
  • 安装 NodeJS 以支持前端构建;
  • 推荐安装启用 Redis 以提高性能。

安装指南

基础配置

  1. 克隆或下载代码;

  2. 执行 composer install 安装 PHP 依赖;

  3. 执行 npm install 安装 JS 依赖;

  4. 复制 .env.example.env,修改数据库连接参数:

    DB_DATABASE=
    DB_USERNAME=
    DB_PASSWORD=
    

    亦可进一步修改其他参数,使用 Redis 或者使用七牛云加速网站。

  5. 执行 php artisan key:generate 生成应用密钥;

  6. 执行 php artisan migrate,生成数据表;

评估试用

  1. 首先,执行 composer dumpautoload 转储自动加载器;
  2. 借助 Laravel 提供的快速填充数据能力,配置成功后可以马上看到 Gryen-GTD 铺满笔记的效果:执行 php artisan db:seed 填充数据,然后访问 http(s)://[yourdomain]/ 查看;
  3. 访问 http(s)://[yourdomain]/login 登录用户(邮箱:[[email protected]],密码:password);
  4. 访问 http(s)://[yourdomain]/articles/create 尝试创作。

评估结束后可以方便地移除测试数据,执行 php artisan migrate:fresh 重建数据表即可。

正式使用

  1. 确保已经执行 php artisan migrate:fresh 重建数据表,访问 http(s)://[yourdomain]/register 注册用户获取权限;
  2. 访问 http(s)://[yourdomain]/login 登录用户;
  3. 访问 http(s)://[yourdomain]/articles/create 开始创作。

gryen-gtd's People

Contributors

dependabot[bot] avatar gryen7 avatar

Stargazers

 avatar  avatar  avatar  avatar

gryen-gtd's Issues

choosing a image causes a error in simditor

Uncaught DOMException: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index. at eval (webpack-internal:///18:911:51) (anonymous) @ simditor.js?afd1:910 setTimeout (async) InputManager._onFocus @ simditor.js?afd1:907 proxy @ jquery.js?eedf:502 dispatch @ jquery.js?eedf:5201 elemData.handle @ jquery.js?eedf:5009

自动保存草稿

需要在前端获取编辑的内容,通过一定的算法算出一个能代表当前草稿版本的值,保存下来。定时重复这个过程,通过校验值是否改变,来判断是否有更新,如果有的话,调用后端接口更新

can not register

ReflectionException Class App\Providers\SendEmailVerificationNotification does not exist

新建文章上传图片控制台报错

<link rel=preload> must have a valid asvalue create:1 A cookie associated with a cross-site resource at http://hm.baidu.com/ was set without theSameSiteattribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set withSameSite=NoneandSecure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032. create:1 A cookie associated with a cross-site resource at http://baidu.com/ was set without the SameSiteattribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set withSameSite=NoneandSecure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032. DevTools failed to parse SourceMap: chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/browser-polyfill.js.map

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.