Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 891 Bytes

set.md

File metadata and controls

58 lines (42 loc) · 891 Bytes

set

Set hog configuration values.

This command will update the values in the file .hog.yml

Syntax

hog set [command]

Example

hog set protocol http
hog set protocol https
hog set domain localhost
hog set domain 192.168.1.101
hog set domain example.com
hog set port 3000

Command

protocol

Set protocol value. This value can only be http or https.

Syntax

hog set protocol http
hog set protocol https

domain

Set domain value.

This is the domain from which the devices are going to reach the server, can be an ip like 192.168.1.101 or a public domain like example.com. This value is used for sharing functionalities

Syntax

hog set domain localhost
hog set domain 192.168.1.101
hog set domain example.com

port

Set port value.

This value must be a number

Syntax

hog set port 3000