杜郎俊赏 - dujun.io

开源实例之Lamb

前言

Literally Another Micro Blog

实例地址

http://lamb.dujun.eu.org

实例配置

配置描述
系统Debian
服务端PHP 8.1
数据库SQLite 3
服务器Nginx
程序Lamb 0.3.0

实例部署

权限要求

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

安装程序

仓库地址:https://github.com/svandragt/lamb

#克隆代码
git clone https://github.com/svandragt/lamb.git
cd lamb

#安装依赖
composer install

命令行运行

LAMB_LOGIN_PASSWORD=$(php make_password_hash.php hackme) composer serve

Nginx 代理

server {
    listen 80;

    root /wwwroot/app/src;
    index index.php index.html;

    location / {
        try_files $uri $uri/ /index.php$is_args$args;
    }

    ……
}

实例体验

进入实例深度体验

后记

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

体验更多开源实例

标签: 开源实例 PHP开源实例 社区开源实例 微博开源实例
日期:2023-11-01