使用命令行终端安装
快速安装
在终端输入:
curl -s https://octobercms.com/api/installer | php
或者如果没有curl,可以在终端输入:
php -r "eval('?>'.file_get_contents('https://octobercms.com/api/installer'));"
使用Composer 安装
使用create-project
,安装在myoctober目录里。
composer create-project october/october myoctober
编辑config/cms.php,把disableCoreUpdates设置为true允许更新框架核心。
'disableCoreUpdates' => true,
使用composer执行更新:|
composer update
安装后的设置
运行october:install
命令启动配置向导:
php artisan october:install
october更新:
php artisan october:update
数据库迁移:
php artisan october:up
注意:如果需要取消迁移可以执行php artisan october:down
改变后台登录密码
php artisan october:passwd username password
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。