You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

svsbank-cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svsbank-cli

Bukalapak services installer bank

0.1.6
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

svsbank-cli

Services di Bukalapak udah banyak, kalau mau develop lama di installingnya. Kalau ada tools yang bisa buat ng-install services dengan mudah kan enak.

requirement!

  • Git - Harus sudah install git dan setup ssh di github;
  • Node - Harus sudah install node & npm (v8.11.3 & 5.6.0). Install Node with NVM is recomended: ( if node was not installed with NVM, we need to use sudo everytime -g install )

Setup git configs:

  • Run git config --global user.name "Your Name Here"
  • Run git config --global user.email "your-github-email@example.com"

Setup SSH:

  • Run ssh-keygen
  • Run gedit ~/.ssh/id_rsa.pub
  • add ssh to github

how to use!

To install (add) service:

  • Run npm install -g svsbank-cli
  • Run svsbank-cli add
  • Select services to be installed

note on installing:

  • You may need to enter password for sudo command (might need to input multiple times)
  • ...

NB: On Mothership Installer

  • If asked mysql password, the answer is rootpw (might need to input multiple times)
  • ...

infos:

Install directories:


~/.svsbank_profile [for all paths setting used in the process]

~/ [for go services]
.
+-- /go/
|   +-- bin/
|   +-- pkg/
|   +-- src/
|       +-- github.com/
|           +-- bukalapak/
|               +-- /aleppo/[PROJECT]
|               +-- /attache/[PROJECT]
|               +-- /imagery-s3/[PROJECT]

~/ [for non go services]
.
+-- /svsbank/
|   +-- mothership/[PROJECT]
|   +-- grimoire/[PROJECT]
|   +-- olympus/[PROJECT]
|   +-- pogchamp/[PROJECT]
|   +-- shinkansen/[PROJECT]
|   +-- docker-compose.yml
|   +-- .env

Automated Flows:

  • check if git installed, if none (quit process)
  • check & install docker on local machine (if none)
  • check & install docker compose on local machine (if none)
  • check & create svsbank directory (if none)
    • do svsbank directory
    • check & install go (if none) (run only if go service needed)
    • need to prepare go workspace beforehand here (run only if go service needed)
  • remove svsbank/docker-compose.yml
  • run installation for selected services
    • check & remove directory (svsbank/[service]) (if any)
    • clone repo from github (ssh will be used, go services will be cloned to go-workspace)
    • building docker image
    • append docker compose & env config
    • overwrite compose and env config to svsbank path
    • run installation shell script (if any)

Shell Scripts Rules:

  • ...

Composes Rules:

  • ...

on dev pipeline (TODOs):

  • Mothership mac installer
  • Aleppo linux installer
  • Aleppo mac installer

tested on:

  • Ubuntu 16.04.5 LTS (xenial)

Keywords

services

FAQs

Package last updated on 23 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts