Ei kuvausta

root 6892006056 add composer autoload lib 5 vuotta sitten
app f0b06cda7c update 5 vuotta sitten
bootstrap b2cd17b82f commit message 5 vuotta sitten
config 58d1711150 update 5 vuotta sitten
database b2cd17b82f commit message 5 vuotta sitten
docker b2cd17b82f commit message 5 vuotta sitten
public 0bf7f7b92b update 5 vuotta sitten
resources 79f90b724c update 5 vuotta sitten
routes 3ccb108c47 update 5 vuotta sitten
storage b2cd17b82f commit message 5 vuotta sitten
tests b2cd17b82f commit message 5 vuotta sitten
.editorconfig b2cd17b82f commit message 5 vuotta sitten
.env.example abe9fa2bb7 update 5 vuotta sitten
.gitattributes b2cd17b82f commit message 5 vuotta sitten
.gitignore abd47c8487 update 5 vuotta sitten
.styleci.yml b2cd17b82f commit message 5 vuotta sitten
LICENSE d9dcddd536 update 5 vuotta sitten
artisan b2cd17b82f commit message 5 vuotta sitten
composer.json 6892006056 add composer autoload lib 5 vuotta sitten
docker-compose.yml.example d30faa5a60 update 5 vuotta sitten
init.sh b2cd17b82f commit message 5 vuotta sitten
install.sql 1174955308 update 5 vuotta sitten
package.json b2cd17b82f commit message 5 vuotta sitten
phpunit.xml b2cd17b82f commit message 5 vuotta sitten
readme.md 9875afcf97 update 5 vuotta sitten
server.php b2cd17b82f commit message 5 vuotta sitten
update.sql 0ff4190658 update 5 vuotta sitten
webpack.mix.js b2cd17b82f commit message 5 vuotta sitten

readme.md

logo

V2Board

  • PHP7.3+
  • Composer
  • MySQL5.5+
  • Redis
  • Laravel

演示

Demo 演示站点由 👉Moack👈 强力驱动

本地环境部署

  1. 下载 composer > shell script > wget https://getcomposer.org/download/1.9.0/composer.phar > php composer.phar install >
  2. 执行 cp .env.example .env 然后配置它
  3. 执行安装 > install script > php artisan v2board:install > >
  4. 设置定时任务每分钟执行 > set crontable > php artisan schedule:run >
  5. 其他注意事项 > 每次修改 .env 文件后需要执行 php artisan config:cache 重建缓存
    > 请务必安装 redis

Docker 环境部署

首先 cp docker-compose.yml.example docker-compose.yml 选择性修改

  1. 执行 docker-compose run --rm db 进入 docker 容器
  2. install.sql 文件中恢复表后退出容器,执行 docker-compose down
  3. 执行 cp .env.example .env 然后配置它
  4. 执行配置脚本 > shell script > docker run --rm -v $(pwd):/app composer install > docker run --rm -v $(pwd):/app composer sh init.sh >
  5. 执行 docker-compose up -d 启动服务 > 每次修改 .env 文件后需要执行 docker run --rm -v $(pwd):/app composer artisan config:cache 重建缓存

注意

伪静态: ``` location /downloads { }

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

投喂

ETH&(USDT-ERC20): 0x84F85A89105B93F74c3b5db6410Ee8630F01063f

其他

Telegram Channel: @v2board