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 开始创作。

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.