杜郎俊赏 - dujun.io

开源实例之Plainpad

前言

Plainpad is a self hosted, open source note taking application that is very easy to setup on your server. Your data will never leave your server and you will be able to access them from any device connected to the internet.

Plainpad 是一款 PHP 语言开发的自托管开源笔记程序,使用 PWA 技术,也就是说可以离线使用。

实例地址

http://plainpad.dujun.eu.org

实例配置

配置描述
系统Debian
服务端PHP 7.4
数据库MariaDB 10.5
服务器Nginx
程序Plainpad 1.0.0

实例部署

权限要求

  • 具有系统读写权限
  • 已安装 PHP
  • 已安装 MySQL
  • 已安装 Nginx

安装程序

官网地址:https://alextselegidis.com/get/plainpad
仓库地址:https://github.com/alextselegidis/plainpad

创建数据库

创建一个空数据库,用于后续安装。

部署代码

从官网或仓库下载最新安装包,解压到指定目录,本例为 /wwwroot/app。

#完善配置文件,填写数据库信息(DB_ 开头字段)
cp .env.example .env
vim .env

#初始化数据,默认账号/密码为:admin@example.org / 12345
php artisan key:generate
php artisan migrate:fresh --seed

配置 Nginx

server {
    listen 80;

    root /wwwroot/app/public;
    index index.html;

    location / {
        try_files $uri $uri/ /api.php?$query_string;
    }

    ……
}

实例体验

进入实例深度体验

后记

本实例仅供参考,不定期重置数据。

体验更多开源实例

标签: 开源实例 个人开源实例 PHP开源实例 笔记开源实例
日期:2023-11-24