Skip to content

Instantly share code, notes, and snippets.

@gregsadetsky
Last active May 18, 2024 21:48
Show Gist options
  • Save gregsadetsky/8ab95a01ae45efaa60b4934d41cf2611 to your computer and use it in GitHub Desktop.
Save gregsadetsky/8ab95a01ae45efaa60b4934d41cf2611 to your computer and use it in GitHub Desktop.
# install disco locally
curl https://cli-assets.letsdisco.dev/install.sh | sh
# initialize a server or Raspberry Pi
disco init root@server.example.com
# connect your github account
disco github:apps:add
# deploy your project
disco projects:add \
--name blog \
--github zoe/blog \
--domain blog.example.com
# make changes, then push to deploy!
git add . && git commit -m "fix typo" && git push
@gregsadetsky
Copy link
Author

gregsadetsky commented May 18, 2024

NB there are not pretty hacks like empty spaces at the end of line 2 and line 17, and an empty newline at the end

this is so that the embed on letsdisco.dev via carbon.now.sh looks better (i.e. it adds horizontal/vertical padding..)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment