2 Star 7 Fork 0

Stefan阿钢 / apiadmin-dnmp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

apiadmin-dnmp

此项目为快速搭建ApiAdmin,目前在Mac下测通

系统需求

安装说明

  1. clone项目
git clone https://gitee.com/bstdn/apiadmin-dnmp
  1. 如果不是root用户,还需将当前用户加入docker用户组
sudo gpasswd -a ${USER} docker
  1. 进入 apiadmin-dnmp,目录运行 install.sh,根据提示进行安装
cd apiadmin-dnmp
./install.sh
# 运行 `isntall.sh` 展示如下
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!注意!!!!!!!!!!CAUTION !!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
此脚本包含以下部分(建议启动Docker服务后执行一次1,以减少错误几率):
  0)停用DNMP服务
  1)启动DNMP服务
  2)创建数据库,如果数据库已存在,则忽略
  3)克隆ApiAdmin项目,composer install
  4)检测环境以及配置数据库
  5)数据库迁移
  6)构建后端路由(ApiAdmin5.x)
  7)查看账号密码
  8)克隆ApiAdmin-WEB项目,npm install(未安装npm则退出)
  9)配置nginx(需手动修改/etc/hosts)
  10)配置cache
  11)配置Api地址
  12)运行ApiAdmin-WEB项目
  13)克隆ApiAdmin-Element项目,npm install(未安装npm则退出)
  14)运行ApiAdmin-Element项目

请输入希望执行的序号,可多选,空格键分开
直接回车则全选(不包括0),Ctrl-C 退出脚本:

相关技术栈

赞赏

请作者喝杯咖啡吧!(微信号/QQ号:99808359)

微信扫一扫

Copyright (c) 2020-present, bstdn

MIT License Copyright (c) 2020 bstdn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

ApiAdmin-DNMP (ApiAdmin + Docker + Nginx + MySQL + PHP7 + Redis 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/bstdn/apiadmin-dnmp.git
git@gitee.com:bstdn/apiadmin-dnmp.git
bstdn
apiadmin-dnmp
apiadmin-dnmp
master

搜索帮助