0.0.15 • Published 3 years ago
@aibulat/installer v0.0.15
Overview
Package to perform various installation automations. Created by using:
- typescript
- google zx
Install
- Create a stub npm project
- Install the tool there
- Use via
npx. Or viasudo npx - Also make sure to have zx
sudo npm i -g zx
mkdir tools
cd tools
npm init -y
npm i @aibulat/installerUninstall
# just remove the folder where you have run npm init previosly
# for example:
rm -rf toolsUpdate
cd tools # navigate to folder you have created
npm outdated
npm info @aibulat/installer
npm install @aibulat/installer@latest
cat package-lock.jsonUse
- navigate to the folder with npm project, you have created
- run commands via
npxorsudo npx
npx c-vim # configure vim, make it nicer
npx gen-pw # generate random passwordOn Ubuntu Linux, you can use mysql installer:
# install mysql, set random root password
# create database appdb
# create users: appro, apprw
# with read-only and read-write access to database
# create 3 .env files with db access params:
# root.env, appro.env, apprw.env
sudo npx i-ubuntu-mysql appdb