Sem descrição

root c59c6565e3 update há 5 anos atrás
app c59c6565e3 update há 5 anos atrás
bootstrap b2cd17b82f commit message há 5 anos atrás
config b2cd17b82f commit message há 5 anos atrás
database b2cd17b82f commit message há 5 anos atrás
docker b2cd17b82f commit message há 5 anos atrás
public b2cd17b82f commit message há 5 anos atrás
resources b2cd17b82f commit message há 5 anos atrás
routes b2cd17b82f commit message há 5 anos atrás
storage b2cd17b82f commit message há 5 anos atrás
tests b2cd17b82f commit message há 5 anos atrás
.editorconfig b2cd17b82f commit message há 5 anos atrás
.env.example b2cd17b82f commit message há 5 anos atrás
.gitattributes b2cd17b82f commit message há 5 anos atrás
.gitignore b2cd17b82f commit message há 5 anos atrás
.styleci.yml b2cd17b82f commit message há 5 anos atrás
artisan b2cd17b82f commit message há 5 anos atrás
composer.json b2cd17b82f commit message há 5 anos atrás
composer.lock b2cd17b82f commit message há 5 anos atrás
docker-compose.yml b2cd17b82f commit message há 5 anos atrás
init.sh b2cd17b82f commit message há 5 anos atrás
install.sql c59c6565e3 update há 5 anos atrás
package.json b2cd17b82f commit message há 5 anos atrás
phpunit.xml b2cd17b82f commit message há 5 anos atrás
readme.md b2cd17b82f commit message há 5 anos atrás
server.php b2cd17b82f commit message há 5 anos atrás
webpack.mix.js b2cd17b82f commit message há 5 anos atrás

readme.md

Environment:

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

Steps

Before

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

本地环境部署

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

Docker 环境部署

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