$ go install github.com/gnue/httprism/cmd/httprism@latesthttprism [OPTIONS] <command>
Application Options:
-c, --config=FILE config file
Help Options:
-h, --help Show this help message
Available commands:
cleanup clean up invalid symbolic link
config print config
domains print domains
down disable
env print config
host updates hosts file to map domains to 127.0.0.1 [deprecated]
install install files
kill kill app
link link app
list list apps
logs tails log in app
open open app
ps list apps
restart restart app
server server commands
unhost removes domains from hostfile [deprecated]
uninstall uninstall files
unlink unlink app
up enable
version show version
$ httprism install設定ファイル(config.toml) の編集
$ httprism config —-editWebサービスのリンク
$ cd /path/to/myapp
$ httprism link // myapp.[DOMAIN名] が登録される
$ httprism open // myapp.[DOMAIN名] でブラウザがオープンされるOS のシステムサービスに登録されるので管理者のパスワード入力が必要
プロキシーサーバの起動
$ httprism up- macOS では launchd に登録されてサービスが起動される
- Linux では systemd に登録されてサービスが起動される
OS のシステムサービスから削除されるので管理者のパスワード入力が必要
プロキシーサーバの停止
$ httprism down- macOS では launchd に登録されているサービスが取り除かれる
- Linux では systemd に登録されているサービスが取り除かれる