mirror of
https://github.com/v2board/v2board.git
synced 2025-01-10 08:09:10 +08:00
🚀A multiple proxy protocol manage panel application interface
app | ||
bootstrap | ||
config | ||
database | ||
docker | ||
public | ||
resources | ||
routes | ||
storage | ||
tests | ||
.editorconfig | ||
.env.example | ||
.gitattributes | ||
.gitignore | ||
.styleci.yml | ||
artisan | ||
composer.json | ||
composer.lock | ||
docker-compose.yml | ||
init.sh | ||
install.sql | ||
package.json | ||
phpunit.xml | ||
readme.md | ||
server.php | ||
webpack.mix.js |
Environment:
- PHP7.3+
- composer
- MySQL5.5+
Steps
Before
执行 cp .env.example .env
然后配置它;
本地环境部署
- 下载 composer
wget https://getcomposer.org/download/1.9.0/composer.phar php composer.phar install
- 初始化项目
sh init.sh
- 从
install.sql
文件中恢复表
Docker 环境部署
- 初始化项目
docker run --rm -v $(pwd):/app composer install docker run --rm -v $(pwd):/app composer sh init.sh
- 进入 docker 容器从
install.sql
文件中恢复表 - 执行
docker-compose up -d
启动服务