You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a result of calling inertia init <vps_ip> <github_repo> (locally), at least the following steps should take place:
Inertia gets installed on the VPS.
Create a key pair locally.
Show the public key to the user (they copy-pasta to GitHub).
Pipe the pem file to the VPS ssh <vps_ip> 'bash -c' < inerta set-key <key> <repo>.
Show the webhook url to the user locally (they copy-pasta to GitHub.
OR, if we opt to call inertia init on the VPS kill step 3 and replace step 0 with ssh <vps_ip>:
Example:
$> inertia init <vps_ip><github_repo>
😏 Your new inertia public deploy key (add it here https://github.com/<user>/<repo>/settings/keys/new):
ssh-rsa AAAAB3NzaC1yc2EAA...
Enter VPS SSH password: *****************
🎉 Your new inertia GitHub webhook URL (add it here https://github.com/<user>/<repo>/settings/hooks/new):
https://<vps_ip>:8888
$>
Note: (2) can actually be done with:
curl -kX POST -u <user> https://api.github.com/repos/<user>/<repository>/keys \
-d '{ "key": "<public-key>", "read_only": true, "title": "inertia"}'# Prompts for GitHub password :(
but then the user has to login to github via inertia, which seems bad - but might be OK? This can be done with OAuth too, but is OAuth in scope for MVP?
The text was updated successfully, but these errors were encountered:
As a result of calling
inertia init <vps_ip> <github_repo>
(locally), at least the following steps should take place:ssh <vps_ip> 'bash -c' < inerta set-key <key> <repo>
.OR, if we opt to call
inertia init
on the VPS kill step 3 and replace step 0 withssh <vps_ip>
:Example:
Note: (2) can actually be done with:
but then the user has to login to github via inertia, which seems bad - but might be OK? This can be done with OAuth too, but is OAuth in scope for MVP?
The text was updated successfully, but these errors were encountered: