npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vue-cli-plugin-logwire-backend

v0.4.0

Published

为自动化部署、启动后端服务开发的前端插件,在对应项目中安装此插件,然后可以在 vue-cli ui 界面中执行操作

Downloads

16

Readme

vue-cli-plugin-logwire-backend

为自动化部署、启动后端服务开发的前端插件,在对应项目中安装此插件,然后可以在 vue-cli ui 界面中执行操作

思路

jenkins 自动化部署 java

通过jenkins 自动打包对应分支的 java 文件,然后会将文件放置到服务器的 /u01/grea/dev-test-logwire-backend/ 下,等同于打包后的 build-outputs 文件夹内容,此时并不会执行,只是迁移文件

获取配置信息

从私自部署的 node 服务中获取打包后的后端的两个配置文件的信息,在前端通过编辑器打开, 页面设计与 Vue Cli 的任务页面相同

保存配置信息

修改后点击保存,会将配置信息保存在 开发项目的根目录 下,命名为 .logwire,同时通过 vue-cli 的修改文件的功能,修改 .gitignore ,为刚才两个配置文件增加git配置,避免每次上传时提交,同时防止切换分支后配置文件丢失

启动后端服务

向 node 程序发送请求,node会判断是否有打开的java服务,先关闭再启动新的,使用 websocket 将 java 运行信息返回到前端显示(短期可能不做),后端的运行日志可以在 node 服务根目录 /var/local/logwire-frontend-v2-test 下的 log_backend.log, log_gateway.log 查看