定制 blua-blue/blua-blue 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

blua-blue/blua-blue

Composer 安装命令:

composer require blua-blue/blua-blue

包简介

Headless / Hybrid CMS enablement platform

README 文档

README

Phase 1: meanwhile, phase 2 is in production

blua.blue

Content Enablement Platform

Stateles (JWT) hybrid (frontend & headless) CMS built with

  • PHP ( neoan3 )
  • MySQL
  • Vue (administration & optional frontend)
  • Bulma (administration & optional frontend)

Requirements

PHP7

composer

nodeJS & npm

neoan3-cli

Installation

For usage & production

  1. composer create-project blua-blue/blua-blue -s beta
  2. Create Credentials (neoan3 credentials)
  3. neoan3 migrate models up

Collaborators/developers

Download/clone/fork the repository @ https://github.com/blua-blue/blua-blue

  1. Change the "RewriteBase" in the .htaccess file (or create a route-script for Nginx)
  2. Run composer install
  3. Run npm install
  4. Create Credentials (neoan3 credentials)
  5. Run neoan3 migrate models up

Credentials

Credentials are expected to be in a folder "credentials" outside the web-root. You can use the command neoan3 credentials for generating the following properties. Please make changes to the neoan frame (frame/neoan/Neoan.php) in order to provide credentials for:

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

Example:

{
"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"
  }
}

Don't have access outside of the project? Alternatively, you can create a private function in the frame and set $this->credentials with an array supplying these credentials. However, be aware that when using credentials in your project, sharing the codebase becomes a security consideration.

$this->credentials = [
    'blua_db'=>[...],
    ...
]

You can also use neoan3 credentials to manage your credentials

You might have to provide additional settings depending on your services. Additional mailing-setup can be managed in the function newMail() (in the neoan-frame) and within your credentials when dealing with database-credentials. Please see the respective documentation for these packages.

License

MIT license opensource

Copyright 2019 blua.blue

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Built with love & neoan3?

Blua.blue is written as neoan3 components. We are currently working on integrating blua.blue in the neoan3-cli to be included with your neoan3 projects.

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-08-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固