blua-blue / blua-blue
无头/混合CMS启用平台
Requires
- php: ^7.0
- ext-json: *
- blua-blue/image: dev-master
- leafo/scssphp: dev-master
- league/commonmark: ^1.2@dev
- league/commonmark-extras: ^1.2@dev
- league/html-to-markdown: ^4.10@dev
- mnsami/composer-custom-directory-installer: 1.1.*
- neoan3-apps/cache: dev-master
- neoan3-apps/curl: dev-master
- neoan3-apps/db: ^0.2
- neoan3-apps/hcaptcha: dev-master
- neoan3-apps/ops: ^1
- neoan3-apps/session: dev-master
- neoan3-apps/simple-tracker: dev-master
- neoan3-apps/stateless: dev-master
- neoan3-apps/transformer: 1.1.1
- neoan3-model/user: dev-master
- phpmailer/phpmailer: ~6.1
- dev-phase-01
- v0.0.6-beta
- v0.0.5-beta
- v0.0.4-beta
- dev-dependabot/npm_and_yarn/follow-redirects-1.15.4
- dev-dependabot/npm_and_yarn/axios-1.6.0
- dev-dependabot/npm_and_yarn/moment-2.29.4
- dev-bugfixes
- dev-writerboards
- dev-modernize
- dev-feature/frame
- dev-feature/article
- dev-update/neoan3
- dev-feature/developers
- dev-feature/content-creation
- dev-feature/home-page
- dev-feature/login
- dev-feature/webhooks
- dev-adoption/package-updates
- dev-structure/dynamic-entities
- dev-feature/header
- dev-feature/tracking
- dev-feature/article-page
- dev-feature/commenting
- dev-master
- dev-feature/upload
- dev-feature/keywords
- dev-feature/contact-form
- dev-feature/cookie-law
- dev-feature/administration
This package is auto-updated.
Last update: 2024-09-09 12:22:43 UTC
README
第一阶段:同时,第二阶段正在生产中
内容启用平台
无状态(JWT)混合(前端 & 无头)CMS,使用
要求
PHP7
安装
用于使用 & 生产
composer create-project blua-blue/blua-blue -s beta
- 创建 凭证 (code>neoan3 credentials)
neoan3 migrate models up
合作者/开发者
在 https://github.com/blua-blue/blua-blue 下载/克隆/fork 仓库
- 修改 .htaccess 文件中的 "RewriteBase"(或为 Nginx 创建路由脚本)
- 运行
composer install
- 运行
npm install
- 创建 凭证 (code>neoan3 credentials)
- 运行
neoan3 migrate models up
凭证
凭证预计将位于 web-root 外的 "credentials" 文件夹中。您可以使用命令 neoan3 credentials
生成以下属性。请根据需要修改 neoan 框架(frame/neoan/Neoan.php),以便为以下提供凭证。
neoan3-apps/db https://github.com/sroehrl/neoan3-db
neoan3-apps/stateless https://github.com/sroehrl/neoan3-stateless
phpmailer https://github.com/PHPMailer/PHPMailer
neoan3-apps/hcaptcha https://github.com/sroehrl/neoan3-hcapture
示例
{ "blua_db": { "name": "your_db", "assumes_uuid": true, "password": "yourPassword", "user": "phpDbUser" }, "blua_stateless": { "secret": "yourSEcretKey" }, "blua_mail": { "host": "mail.example.com", "username": "some@example.com", "password": "MailSMTPpassword", "fromEmail": "some@example.com", "fromName": "Example-Admin", "port": "25", "secure": "ssl" }, "blua_hcaptcha": { "secret": "your secret", "siteKey": "site-key" } }
项目外部没有访问权限?或者,您可以在框架中创建一个私有函数,并使用数组设置 $this->credentials
以提供这些凭证。但是,请注意,当在项目中使用凭证时,共享代码库成为安全考虑因素。
$this->credentials = [ 'blua_db'=>[...], ... ]
您还可以使用 neoan3 credentials
来管理您的凭证
您可能需要根据您的服务提供额外的设置。额外的邮件设置可以在 neoan-frame 中的 newMail() 函数(在 neoan-frame 中)以及处理数据库凭证时在凭证中进行管理。请参阅这些软件包的相应文档。
许可
MIT 许可证 开源
版权 2019 blua.blue
特此授予任何获得此软件及其相关文档文件(“软件”)副本的人免费使用该软件的权利,包括但不限于使用、复制、修改、合并、发布、分发、再许可和/或销售软件副本的权利,并允许获得软件的人这样做,但受以下条件的约束
以上版权声明和本许可声明应包含在软件的所有副本或主要部分中。
软件按“原样”提供,不提供任何形式的保证,无论是明示的、暗示的,包括但不限于适销性、适用于特定目的和非侵权的保证。在任何情况下,作者或版权持有人均不对任何索赔、损害或其他责任承担责任,无论这些责任是在合同行为、侵权行为或其他行为中产生的,无论这些责任是否与软件或其使用或其他与软件相关的事宜有关。
用爱与neoan3?构建。
Blua.blue是用neoan3组件编写的。我们目前正在将blua.blue整合到neoan3-cli中,以便与您的neoan3项目一起使用。