安裝前注意
安裝前請確保已經(jīng)安裝git、php及composer,否則無法執(zhí)行安裝。
$ git clone https://github.com/notadd/notadd.git
$ chown -R www-data:www-data notadd
或
$ chmod 755 notadd/public notadd/storage
$ cd notadd
$ composer install
$ php notadd vendor:publish --force
如果composer執(zhí)行慢或者卡住
請使用中國鏡像?https://pkg.phpcomposer.com/
將域名綁定到?notadd/public
目錄,并訪問該域名進(jìn)行安裝。
訪問后臺入口?http://yourdomain/admin
。
pulic 必須為網(wǎng)站根目錄
否則前端資源將請求不到,出現(xiàn)空白頁。 同時,為了網(wǎng)站安全,請務(wù)必執(zhí)行此操作。
更多建議: