标签:目录 zh-cn water image htm ror 1.7 create rate
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
标签:目录 zh-cn water image htm ror 1.7 create rate
原文地址:http://blog.51cto.com/12173069/2306941