🚀A multiple proxy protocol manage panel application interface
Go to file
2019-10-29 17:23:32 +08:00
app update 2019-10-29 13:53:51 +08:00
bootstrap first commit 2019-10-22 23:39:48 +08:00
config first commit 2019-10-22 23:39:48 +08:00
database first commit 2019-10-22 23:39:48 +08:00
docker update docker 2019-10-29 14:58:15 +08:00
public update 2019-10-29 14:17:00 +08:00
resources update 2019-10-26 18:58:29 +08:00
routes update 2019-10-27 21:46:04 +08:00
storage first commit 2019-10-22 23:39:48 +08:00
tests first commit 2019-10-22 23:39:48 +08:00
.editorconfig first commit 2019-10-22 23:39:48 +08:00
.env.example update 2019-10-22 23:53:00 +08:00
.gitattributes first commit 2019-10-22 23:39:48 +08:00
.gitignore update .gitignore 2019-10-29 15:06:15 +08:00
.styleci.yml first commit 2019-10-22 23:39:48 +08:00
artisan first commit 2019-10-22 23:39:48 +08:00
composer.json update 2019-10-23 18:30:18 +08:00
composer.lock first commit 2019-10-22 23:39:48 +08:00
docker-compose.yml update docker-compose and readme 2019-10-29 17:19:31 +08:00
init.sh update 2019-10-29 15:31:05 +08:00
install.sql Merge branch 'master' into feature/docker-compose-support 2019-10-29 14:43:12 +08:00
package.json first commit 2019-10-22 23:39:48 +08:00
phpunit.xml first commit 2019-10-22 23:39:48 +08:00
readme.md update docker-compose and readme 2019-10-29 17:19:31 +08:00
server.php first commit 2019-10-22 23:39:48 +08:00
webpack.mix.js first commit 2019-10-22 23:39:48 +08:00

Environment:

  • PHP7.3+
  • composer
  • MySQL5.5+

Steps

Before

执行 cp .env.example .env 然后配置它;

本地环境部署

  1. 下载 composer
    wget https://getcomposer.org/download/1.9.0/composer.phar
    php composer.phar install
    
  2. 初始化项目
    sh init.sh
    
  3. install.sql 文件中恢复表

Docker 环境部署

  1. 初始化项目
    docker run --rm -v $(pwd):/app composer install
    docker run --rm -v $(pwd):/app composer sh init.sh
    
  2. 执行 docker-compose run --rm db 进入 docker 容器从 install.sql 文件中恢复表后执行 docker-compose down
  3. 执行 docker-compose up -d 启动服务

注意

每次修改 .env 文件后需要执行 docker run --rm -v $(pwd):/app composer sh init.sh