Replies: 3 comments 8 replies
-
https://github.com/MightyMoud/sidekick It’s hard coded to install via docker and dock impose , so it’s more of a point of reference . I wanted o PR it to make it more generic , so I could use mutagen |
Beta Was this translation helpful? Give feedback.
-
ok plugin approach looks good. I like the shebang approach. I need binaries along with my shebang to do this then. 2 binaries and a shebang to wrap it. Maybe we should integrate into the small web pkg a simple deps system, so that a plug declares what it needs to run and the system pulls them down to where small web is installed, into a .deps folder. The is easy to make idempotent too by just checking with "which" and "binary -version", so we can install the plugins binaries automatically on calling the plugin shebang. I do this all the time with complex projects that have deps on deps .... |
Beta Was this translation helpful? Give feedback.
-
Hey again, I was just reviewing where everything is and saw your comment about "frictions (creating a cloudflare account, buying a domain, generating a token...)." I agree. it's hard to remove all friction like this for end users, but I think you have heaps of opportunities to do that by adding a bit more to the CLI. You can have the CLI call other CLI too just to get it all working.
Then you pretty much have all the third party bits automated. So it's a matter of dockerising this so that the exact same code that a Dev runs locally, can also be run on a Server.
I am only picking hetzner because it's always the cheapest. Later others can be provided by am abstraction, but its a decent way to get going. At this point there are only 2 external systems and they are 100% driven by having a token for each system. |
Beta Was this translation helpful? Give feedback.
-
hey @pomdtr
The system looks like it’s ping great . The API looks really useful for small projects.
There are a few simple things we could do eventually to make deployments smoother .
cloudflare config , using their golang cli to automate setup of tunnel and domain .
Sidekick to auto are vps based setup and deployment. Does all the steps in the docs.
Hotfix so that binaries can easily be updated on your server , directly off a github release .
Beta Was this translation helpful? Give feedback.
All reactions