ulapph-cloud-desktop-ctl

command module
v0.0.0-...-fe54052 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2022 License: MIT Imports: 14 Imported by: 0

README

ULAPPH-Cloud-Desktop-Shell-Installer

Basic installer for ULAPPH Cloud Desktop using Google Cloud Shell

Pre-requisites

  • Google Cloud Shell or local Unix/Linux access
  • A Google account such as Gmail
  • A Google cloud project ID

STEP 1

STEP 2

	git clone https://github.com/ulapph/ULAPPH-Cloud-Desktop-Shell-Installer.git
	
	cd ULAPPH-Cloud-Desktop-Shell-Installer
	go get github.com/jinzhu/configor
	go get github.com/urfave/cli
	
	export GOBIN=/home/ulapph/gopath/bin
	
	go install ulapphctl.go
	which ulapphctl
	/home/ulapph/gopath/bin/ulapphctl

	** if go install does not work
	go build ulapphctl.go
	which ulapphctl
	cp ulapphctl <location of Go bin>

	ulapphctl help
	
	NAME:
	   ulapphctl - A new cli application

	USAGE:
	   ulapphctl [global options] command [command options] [arguments...]

	VERSION:
	   0.0.0

	COMMANDS:
	     configure, i  configure ulapph cloud desktop
	     deploy, i     deploy ulapph cloud desktop
	     help, h       Shows a list of commands or help for one command

	GLOBAL OPTIONS:
	   --account value, -a value  Google account (email)
	   --config value, -c value   Configuration file for the ulapph cloud destkop
	   --project value, -p value  Target google project ID
	   --yaml value, -y value     YAML source file for Google Appengine
	   --help, -h                 show help
	   --version, -v              print the version
   

STEP 3

  • Once you have installed ulapphctl, run it by pointing to the configuration yaml file
	ulapphctl --config "../ULAPPH-Cloud-Desktop-Configs/edwin-daen-vinas.yaml" install
  • Note that the recommended directory below
cd /c/Development/golang/ulapph

$ ls -la
total 894
drwxr-xr-x 1 edwin.d.vinas 1049089      0 Feb 10 07:10  ULAPPH-Cloud-Desktop-1/
drwxr-xr-x 1 edwin.d.vinas 1049089      0 Feb 10 07:01  ULAPPH-Cloud-Desktop-Configs/
drwxr-xr-x 1 edwin.d.vinas 1049089      0 Feb 10 06:59  ULAPPH-Cloud-Desktop-Shell-Installer/
  • This assumes that:
    • The cloned ULAPPH Cloud Desktop source codes are in "ULAPPH-Cloud-Desktop-1"
    • If you have cloned the source codes, you may just have "ULAPPH-Cloud-Desktop"
    • You have created a directory "ULAPPH-Cloud-Desktop-Configs" where you will put the yaml files
    • The cloned shell installer are in "ULAPPH-Cloud-Desktop-Shell-Installer"

STEP 4

	wget https://raw.githubusercontent.com/ulapph/ULAPPH-Cloud-Desktop-Shell-Installer/master/ulapph-demo.yaml
	cp ulapph-demo.yaml your-project-id.yaml

What if I need to install/upgrade multiple projects?

Is there a quick way to code/edit and re-install ULAPPH?

Contacts

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL