【文件属性】:
文件名称:runy-deploy:易于前端部署
文件大小:70KB
文件格式:ZIP
更新时间:2021-05-08 12:24:55
JavaScript
鲁尼
Runy-deploy是一个部署工具,可让您非常轻松地部署前端应用程序。
设置
配置服务器
您的服务器必须具有下一个要求才能工作:
SSH公/私钥对设置
部署用户可以访问要在其中安装应用程序的文件夹
安装了git
已安装的nodejs
安装套件
$ npm install --global @roonyx/runy-deploy
OR
$ yarn global add @roonyx/runy-deploy
您还可以在本地安装软件包,并通过node_modules/.bin/runy [command]使用它。
创建配置文件
init命令将创建runy.js配置
$ runy init
现在,您必须更改runy.js文件,并在其中放置凭据。
{
host: '0.0.0.0',
username: 'username',
port: 22,
remoteP
【文件预览】:
runy-deploy-master
----.eslintrc(289B)
----config.js(262B)
----LICENSE(1KB)
----test()
--------get-runy-config.test.js(1KB)
--------helpers()
--------calling-commands.test.js(2KB)
--------run.test.js(2KB)
--------running-commands.test.js(5KB)
----README.md(3KB)
----libs()
--------command-handler.js(513B)
--------aliases.js(137B)
--------commands()
--------helpers()
--------config.conf.js(210B)
----.gitignore(31B)
----index.js(462B)
----.eslintignore(29B)
----package-lock.json(243KB)
----package.json(1KB)