gansutianqi official site,build on top of october CMS.
-
install october CMS via composer
composer create-project october/october PROJECT_NAME
-
php artisan october:install
-
make
storage
andthemes
directory writablechmod -R 777 storage themes
. -
before update october,you need run
composer update
first,then runphp artisan october:update
-
remove some files
rm .gitattributes .editorconfig README.md
-
install dependence plugins
- install october.dirvers
php artisan plugin:install October.Drivers
- install rainlab.user
php artisan plugin:install RainLab.User
- nstall rainlab.pages
php artisan plugin:install RainLab.Pages
- install october.dirvers
-
clone this repository
- in the project root directory run
git init
git remote add origin https://github.com/gansutianqi/gansutianqi-site-v3.git
git pull origin master
- in the project root directory run
-
after pull completed
- install buuug7.news
php artisan plugin:refresh Buuug7.News
- install buuug7.news
-
run
php artisan october:env
generate a.env
file for common configuration. -
when develop in local,make sure to add
APP_ENV=dev
for use dev config. -
theme
- run
yarn run bulid
to compile assert of bs4 theme - run
yarn run watch
to watch and compile the theme assert
- run
the frontend branch contains the template build by YANJF123 and zwj1007. It has not been used yet.
- add package or install new package with
--no-bin-links
options.