Skip to content
/ tgm Public

TGM - Thumb Grid Manager - Go, Golila, nodejs

Notifications You must be signed in to change notification settings

devsunset/tgm

Repository files navigation

TGM

  • Linux File & Account Management Tool

Install

  1. git clone https://github.com/devsunset/tgm.git

  2. cd tgm/tgm_build

  3. ./tgm_build.sh

  4. ./start_tgm.sh

  5. http://localhost:8282

  • Web Console 사용 하려면 ssh 패스워드 접속 허용 설정 필요

    미설정시 기본 콘솔 기능 제공

    $ sudo vi /etc/ssh/sshd_config

    PasswordAuthentication yes ( yes : 패스워드 접속 허용 , no : 미허용 )

    $ systemctl restart sshd

Reference Open Source


DB (boltdb - golang storm) - Tool

cli version - boltbrowser

https://github.com/br0xen/boltbrowser

- install
go get github.com/br0xen/boltbrowser

- execute 
$GOPATH/bin/boltbrowser tgm.db

web version - boltdbweb

https://github.com/evnix/boltdbweb

- install
go get github.com/evnix/boltdbweb

- execute 
$GOPATH/bin/boltbrowser --db-name=tgm.db
Goto: http://localhost:8089

Usage
boltdbweb --db-name=<DBfilename>[required] --port=<port>[optional] --static-path=<static-path>[optional]
    --db-name: The file name of the DB.
        NOTE: If 'file.db' does not exist. it will be created as a BoltDB file.
    --port: Port for listening on... (Default: 8080)
    --static-path: If you moved the binary to different folder you can determin the path of the web folder. (Default: Same folder where the binary is located.)