1 Star 0 Fork 445

zp0794 / dootask

forked from aipaw / dootask 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 2.36 KB
一键复制 编辑 原始数据 按行查看 历史
kuaifan 提交于 2022-02-23 00:19 . no message

Install (Docker)

English | 中文文档

QQ Group

Group No.: 546574618

Setup

  • Docker & Docker Compose v2.0+ must be installed
  • System: Centos/Debian/Ubuntu/macOS
  • Hardware suggestion: 2 cores and above 2G memory

Deployment project

# 1、Clone the repository

# Clone projects on github
git clone --depth=1 https://github.com/kuaifan/dootask.git
# Or you can use gitee
git clone --depth=1 https://gitee.com/aipaw/dootask.git

# 2、Enter directory
cd dootask

# 3、Installation(Custom port installation: ./cmd install --port 2222)
./cmd install

Reset password

# Reset default account password
./cmd repassword

Change port

./cmd port 2222

Stop server

./cmd stop

# P.S: Once application is set up, whenever you want to start the server (if it is stopped) run below command
./cmd start

Development compilation

# Development mode, Mac OS only
./cmd dev
   
# Production projects, macOS only
./cmd prod  

Shortcuts for running command

# You can do this using the following command
./cmd artisan "your command"          # To run a artisan command
./cmd php "your command"              # To run a php command
./cmd nginx "your command"            # To run a nginx command
./cmd redis "your command"            # To run a redis command
./cmd composer "your command"         # To run a composer command
./cmd supervisorctl "your command"    # To run a supervisorctl command
./cmd test "your command"             # To run a phpunit command
./cmd mysql "your command"            # To run a mysql command (backup: Backup database, recovery: Restore database)

NGINX PROXY SSL

# 1、Nginx config add
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

# 2、Enter directory and run command
./cmd https

Upgrade

Note: Please back up your data before upgrading!

# Method 1: enter directory and run command
./cmd update

# Or method 2: use this method if method 1 fails
git pull
./cmd mysql backup
./cmd uninstall
./cmd install
./cmd mysql recovery
./cmd artisan migrate

Uninstall

# Enter directory and run command
./cmd uninstall
1
https://gitee.com/zp0794/dootask.git
git@gitee.com:zp0794/dootask.git
zp0794
dootask
dootask
master

搜索帮助