承接 moay/loxberry-plugin-pushinstall 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

moay/loxberry-plugin-pushinstall

Composer 安装命令:

composer require moay/loxberry-plugin-pushinstall

包简介

Provides a quick way to push and install a loxberry plugin via ssh

README 文档

README

Adds instant plugin installation via ssh.

Installation

Using Composer

Install the package with composer:

composer require moay/loxberry-plugin-pushinstall --dev

Without Composer

You could also just download this repo and use the script. Make sure to maintain the directory structure as the scripts in /lib will be called and are needed for execution.

Usage

In order to push your current dev status to your LoxBerry, go to your plugin dev folder an run

./vendor/bin/pushinstall

Parameters

In order to speed up the usage, you can pass the LoxBerry SecurePin as a parameter as well as skipping the connection configuration. Usage could look like this:

./vendor/bin/pushinstall -s -p 1234

Flags:

  • -s will skip the connection questions if the IP and username of your LoxBerry have been entered at least once
  • -p [securepin] will set the SecurePin
  • -c will remove previously stored connection details

Passwordless ssh connection

By default, you will have to enter your ssh password on every publish. This can be bypassed by using ssh keys as authentication mechanism. In order to create an ssh key and enable its use as password replacement during plugin publication via ssh, run

./vendor/bin/pushinstall-enable-ssh-key

This will create a new ssh key for plugin installation (if it doesn't exist yet), add it as IdentityFile to the local ssh configuration (only for the specified LoxBerry) and pass the key to your LoxBerry via ssh.

System requirements

Tested on Mac, should run on Linux. Won't run on Windows.

Credits

Uses shFlags by Kate Ward. Thanks for that!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-01-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固