您好,登錄后才能下訂單哦!
wget -O composer https://getcomposer.org/download/1.7.2/composer.phar
chmod +x composer
mv composer /usr/bin/
git clone https://github.com/jitamin/jitamin.git jitamin
mv -f jitamin/* /var/www/html/
mv -f jitamin/.* /var/www/html/
cd /var/www/html
cp .env.example .env
APP_NAME=Jitamin
APP_ENV=production
APP_DEBUG=true
APP_KEY=SomeRandomString
APP_TIMEZONE=Asia/Shanghai
APP_LOCALE=zh-CN
APP_THEME=black
APP_LOG=daily
APP_LOG_LEVEL=error
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=jitamin
DB_USERNAME=root
DB_PASSWORD=123456
composer install -o --no-dev
chown -R apache.apache /var/www/html
mysql -uroot -p123456 -e 'create database jitamin;'
vendor/bin/phinx migrate
vendor/bin/phinx seed:run
a. 輸入:172.20.10.11/public
b. 用戶名:admin
c. 密碼:admin
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。