git clone https://github.com/akaunting/akaunting.git
cd akaunting
composer install
cp .env.example .env
php artisan key:generate
Set the environment .env
APP_URL=http://account.com // 网址配置
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=account
DB_USERNAME=dog111
DB_PASSWORD=1234asda516
DB_PREFIX=ac_
Command Line
php artisan install --db-host=localhost --db-name=account --db-username=dog --db-password=123456 --company-name=Dexs
Set account password
account: [email protected]
Password:
References: https: //laravelacademy.org/post/9483.html