sublime-security / sublime-platform

A free and open platform for detecting and preventing email attacks like BEC, malware, and credential phishing. Gain visibility and control, hunt for advanced threats, collaborate with the community, and write detections-as-code.
https://sublime.security
MIT License
160 stars 14 forks source link

More updates to setup script experience #58

Closed jkamdjou closed 1 year ago

jkamdjou commented 1 year ago

How to test (s/o @hugh for this):

curl -sL https://raw.githubusercontent.com/sublime-security/sublime-platform/josh.setup_script/install-and-launch.sh | remote_branch=josh.setup_script bash

Note that Github caches the raw content and only updates every `5 minutes. There doesn't seem to be a way to bypass this, except possibly by requesting the commit itself instead of the branch.

Local testing: clone_platform=false bash install-and-launch.sh

image image
jkamdjou commented 1 year ago

@hugh-sublime i got this merged today so i could run through an on boarding with someone, should be pretty straight forward but take a look when you can to be sure everything looks good 🙏

jkamdjou commented 1 year ago

For some reason the original @hugh tag didn't message me in Slack but @hugh-sublime tagged me properly. Everything seems good but we may want to add some newlines in the places we're using printf instead of echo.

i think that original mis tag was my fault. 🙏 thank you! will update