deploy-code-server
deploy-code-server copied to clipboard
add a CLI
Create a command-line tool for configuring & deploying code-server instances to the cloud. This aims to solve two problem:
- creating a new dev cloud environment is repetitive
- creating test environments for code-server (for testing issues) can be difficult - @jsjoeio's idea 💡
This will be good for creating consistent dev workspaces or test environments for code-server. For example
# launch an ubuntu server with nginx
$ lcs --ubuntu nginx
Creating...
Access your server at https://x.x.x.x:80
Password: asd832sd
# launch a blank ubuntu server and get SSH access
$ lcs --ubuntu blank
...
# launch an ubuntu server configured with code-server --link and 2 GB memory
$ lcs ubuntu --link --mem 2
...
# launch with custom Dockerfile
$ lsc ubuntu --link --dockerfile python/Dockerfile
I am planning on supporting this with the Vultr because of their developer-friendly API.
Love the sound of this! The environments that I see often:
- nginx
- Docker
- Railway
Those seem to be the most common. I think that's a great starting point.
potentially do this in rust? https://egghead.io/courses/creating-a-digital-garden-cli-with-rust-34b8