wpjscc / docs
Free, open-source, self-hosted CMS platform based on the Laravel PHP Framework. Originally known as October CMS.
dev-master
2023-03-28 05:53 UTC
Requires
- php: ^8.0.2
- clue/http-proxy-react: ^1.8
- laravel/framework: ^9.1
- predis/predis: ^2.1
- react/async: ^4 || ^3 || ^2
- stichoza/google-translate-php: ^5.1
- wikimedia/composer-merge-plugin: ~2.0.1
- winter/storm: ~1.2.0
- winter/wn-backend-module: ~1.2.0
- winter/wn-cms-module: ~1.2.0
- winter/wn-system-module: ~1.2.0
- wpjscc/laralog: ^2.0
- wpjscc/reactphp-eventsource: dev-master
- wpjscc/wn-nabu-theme: dev-main
Requires (Dev)
- dms/phpunit-arraysubset-asserts: ^0.1.0|^0.2.1
- fakerphp/faker: ^1.9.2
- mockery/mockery: ^1.4.4
- php-parallel-lint/php-parallel-lint: ^1.0
- phpunit/phpunit: ^9.5.8
- squizlabs/php_codesniffer: ^3.2
This package is auto-updated.
Last update: 2024-10-28 09:24:08 UTC
README
文档系统,支持多语言
example https://docs.wpjs.cc
install
github
git clone git@github.com:wpjscc/docs.git ~/docs
cd docs
composer install
cp .env.example .env
php artisan key:gene
php artisan winter:up
# 下载文档并翻译
php artisan doc:process wpjscc.docs.wintercmszhcn
php artisan serve
composer
composer create-project wpjscc/docs docs dev-master -vvv
cd docs
cp .env.example .env
php artisan key:gene
php artisan winter:up
# 下载文档并翻译
php artisan doc:process wpjscc.docs.wintercmszhcn
php artisan serve
docker
git clone git@github.com:wpjscc/docs.git ~/docs
docker run -p 8000:8000 -v ~/docs:/www --rm -it wpjscc/php:8.0.9-fpm-alpine3.13 sh
cp .env.example .env
php artisan key:gene
php artisan winter:up
# 下载文档并翻译
php artisan doc:process wpjscc.docs.wintercmszhcn
php artisan serve
visit
ref
other
build docker image
docker build -t registry.cn-shanghai.aliyuncs.com/wpjscc/docs:8.0.9-fpm-alpine3.13 . -f Dockerfile
docker push registry.cn-shanghai.aliyuncs.com/wpjscc/docs:8.0.9-fpm-alpine3.13