English | 中文文档
Docker
&Docker Compose
must be installed
# 1、Clone the repository
# Clone projects on github
git clone https://github.com/kuaifan/dootask.git
# or you can use gitee
git clone https://gitee.com/aipaw/dootask.git
# 2、enter directory
cd dootask
# 3、Build project
./cmd install
Installed, project url: http://IP:PORT
(PORT
Default is2222
)。
account: admin@dootask.com
password: 123456
./cmd php bin/run --port=2222
./cmd up -d
./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
# 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 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)
// .env add
APP_SCHEME=1
// nginx add
proxy_set_header X-Forwarded-Proto $scheme;
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
# Enter directory and run command
./cmd uninstall