From 61526fa3cf5164538342ff52a0678ebecd5a6099 Mon Sep 17 00:00:00 2001 From: butlerx Date: Mon, 9 Sep 2019 16:58:50 +0100 Subject: [PATCH] revert package to wetty --- Dockerfile | 4 ++-- README.md | 12 ++++++------ package.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index cbe43b1..c491b13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:boron-alpine as builder +FROM node:carbon-alpine as builder RUN apk add -U build-base python WORKDIR /usr/src/app COPY . /usr/src/app @@ -6,7 +6,7 @@ RUN yarn && \ yarn build && \ yarn install --production --ignore-scripts --prefer-offline -FROM node:boron-alpine +FROM node:carbon-alpine LABEL maintainer="butlerx@notthe.cloud" WORKDIR /usr/src/app ENV NODE_ENV=production diff --git a/README.md b/README.md index e230d9e..8d53a47 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@ $ yarn build To install it globally from npm use yarn or npm: -- yarn, `yarn global add wetty.js` -- npm, `npm i -g wetty.js` +- yarn, `yarn global add wetty` +- npm, `npm i -g wetty` For auto-login feature you'll need sshpass installed (NOT required for rest of the program). @@ -196,16 +196,16 @@ If you dont want to build the image yourself just remove the line `build; .` ### init.d ```bash -$ sudo yarn global add wetty.js -$ sudo cp ~/.config/yarn/global/node_modules/wetty.js/bin/wetty.conf /etc/init +$ sudo yarn global add wetty +$ sudo cp ~/.config/yarn/global/node_modules/wetty/bin/wetty.conf /etc/init $ sudo start wetty ``` ### systemd ```bash -$ yarn global add wetty.js -$ cp ~/.config/yarn/global/node_modules/wetty.js/bin/wetty.service ~/.config/systemd/user/ +$ yarn global add wetty +$ cp ~/.config/yarn/global/node_modules/wetty/bin/wetty.service ~/.config/systemd/user/ $ systemctl --user enable wetty $ systemctl --user start wetty ``` diff --git a/package.json b/package.json index 40dbdc3..338ac68 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "wetty.js", + "name": "wetty", "version": "1.1.4", "description": "WeTTY = Web + TTY. Terminal access in browser over http/https", "homepage": "https://github.com/krishnasrinivas/wetty",