Showdoc 搭建项目 API 文档系统
发表于:2024-09-30 作者:千家信息网编辑
千家信息网最后更新 2024年09月30日,showdoc 是 PHP 开发的一款 api 文档系统,因此所需环境和普通 PHP 项目一致准备环境:phpnginxcomposer //注意更换国内镜像,否则速度会很慢,甚至失败创建项目comp
千家信息网最后更新 2024年09月30日Showdoc 搭建项目 API 文档系统
showdoc 是 PHP 开发的一款 api 文档系统,因此所需环境和普通 PHP 项目一致
准备环境:
php
nginx
composer //注意更换国内镜像,否则速度会很慢,甚至失败
创建项目
composer create-project showdoc/showdoc
配置 showdoc 写权限
chmod a+w showdoc/installchmod a+w showdoc/Sqlitechmod a+w showdoc/Sqlite/showdoc.db.phpchmod a+w showdoc/Public/Uploads/chmod a+w showdoc/Application/Runtimechmod a+w showdoc/server/Application/Runtimechmod a+w showdoc/Application/Common/Conf/config.phpchmod a+w showdoc/Application/Home/Conf/config.php
配置服务器
下面的配置时windows环境,如果要使用linux ,注意可能需要修改一些配置项#=== showdoc == server { listen 80; server_name showdoc.leesin.me; charset utf-8; #access_log logs/host.access.log main; root E:\showdoc; index index.php index.html; if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; break; } #error_page 404 /404.html; # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } location ~ \.php$ { fastcgi_pass fastcgi_backend; # linux无法使用这种方式,而是 127.0.0.1:9000方式 fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME $fastcgi_script_name; } } 配置 hosts 127.0.0.1 showdoc.leesin.me 重启 nginx 服务
开启sqlite 相关扩展
php.iniextension=php_sqlite3.dllextension=php_pdo_sqlite.dll
安装
浏览器输入: showdoc.leesin.me/install 选择语言并确定,安装完成点击进入首页
访问使用
http://showdoc.leesin.me/web即可使用
配置
环境
项目
方式
服务
文档
系统
普通
一致
服务器
权限
浏览器
而是
语言
速度
镜像
面的
首页
准备
开发
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
淮南旧服务器回收今日报价
宝山区创新数据库服务价钱
多媒体数据库技术问题
软件开发与写程序的区别
霞浦县凑千网络技术部
数据库运维资料
西安交通大学网络安全考研
农安正规网络技术服务什么价格
网游安卓服务器
华为服务器选型设计
北京做服务器的厂家云空间
江西省网络安全答题网
服务器做windows7系统
地理数据库拓扑与地图拓扑
西安北郊软件开发公司招聘
服务器安全日志怎么自动清理
数据库设有表
数据库系统安全控制可采用
常用的文献数据库分类
移动开发和软件开发
建立统一高效的网络安全机制
工信部国产数据库白皮书
潍坊红色文化馆软件开发公司
软件开发商属于商业还是工业
网络安全剧本怎么编
如何加强网络安全教育培训
qq老密码数据库
智慧管网软件开发
网络安全美国硕士
湖南客悠网络技术有限公司