diff --git a/README.md b/README.md index 3d4c4f9..935da62 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,9 @@ Bare metal to production ready in mins; imagine fly.io on your VPS -![GitHub](https://img.shields.io/github/license/ms-mousa/sidekick) -![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/ms-mousa/sidekick) -![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/ms-mousa/sidekick) +![GitHub](https://img.shields.io/github/license/mightymoud/sidekick) +![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/mightymoud/sidekick) +![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/mightymoud/sidekick) @@ -46,13 +46,17 @@ Just make sure the following is true: That's it! ### VPS Setup +
+ + First you need to setup your VPS. To do this you need to run: ```bash sidekick init ``` + Then you need to enter the following: - IP Address of your VPS - An email address to use for setting up SSL certs @@ -61,6 +65,7 @@ Then you need to enter the following: - Confirm you are currently logged in to that said registery with the username - This is needed to be able to push images on your behalf After that Sidekick will setup many things on your VPS - Usually takes around 2 mins +
What does Sidekick do when I run this command diff --git a/cmd/deploy.go b/cmd/deploy.go index 0572d43..ac3fbb5 100644 --- a/cmd/deploy.go +++ b/cmd/deploy.go @@ -22,7 +22,7 @@ import ( "strconv" "strings" - "github.com/ms-mousa/sidekick/utils" + "github.com/mightymoud/sidekick/utils" "github.com/pterm/pterm" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/env.go b/cmd/env.go index 515a8ca..bb1e361 100644 --- a/cmd/env.go +++ b/cmd/env.go @@ -20,7 +20,7 @@ import ( "os/exec" "strings" - "github.com/ms-mousa/sidekick/utils" + "github.com/mightymoud/sidekick/utils" "github.com/pterm/pterm" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/init.go b/cmd/init.go index 2091046..041a912 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -19,8 +19,8 @@ import ( "os/exec" "strings" - "github.com/ms-mousa/sidekick/render" - "github.com/ms-mousa/sidekick/utils" + "github.com/mightymoud/sidekick/render" + "github.com/mightymoud/sidekick/utils" "github.com/pterm/pterm" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/launch.go b/cmd/launch.go index b82f931..30d21c4 100644 --- a/cmd/launch.go +++ b/cmd/launch.go @@ -23,7 +23,7 @@ import ( "strings" "time" - "github.com/ms-mousa/sidekick/utils" + "github.com/mightymoud/sidekick/utils" "github.com/pterm/pterm" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/preview.go b/cmd/preview.go index 19391c5..70ca797 100644 --- a/cmd/preview.go +++ b/cmd/preview.go @@ -21,7 +21,7 @@ import ( "os/exec" "strings" - "github.com/ms-mousa/sidekick/utils" + "github.com/mightymoud/sidekick/utils" "github.com/pterm/pterm" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/go.sum b/go.sum index 327e16e..8fdaeae 100644 --- a/go.sum +++ b/go.sum @@ -58,8 +58,6 @@ github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZ github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/ms-mousa/sidekick v0.5.0 h1:DZc4H8+73IjS3dDnVQPZeI07sIJhSapy/1m7Wr6jO7w= -github.com/ms-mousa/sidekick v0.5.0/go.mod h1:gV6x7Rm1k3EiMQMdxxlnzj+NoHUAVBlNHvpjgywxckI= github.com/pelletier/go-toml/v2 v2.2.2 h1:aYUidT7k73Pcl9nb2gScu7NSrKCSHIDE89b3+6Wq+LM= github.com/pelletier/go-toml/v2 v2.2.2/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= diff --git a/main.go b/main.go index 2056715..2aa3894 100644 --- a/main.go +++ b/main.go @@ -14,7 +14,7 @@ limitations under the License. */ package main -import "github.com/ms-mousa/sidekick/cmd" +import "github.com/mightymoud/sidekick/cmd" func main() { cmd.Execute() diff --git a/utils/stages.go b/utils/stages.go index 3ecb8ec..c0605b2 100644 --- a/utils/stages.go +++ b/utils/stages.go @@ -68,7 +68,7 @@ func GetTraefikStage(email string) CommandsStage { SpinnerFailMessage: "Something went wrong setting up Traefik on your VPS", Commands: []string{ "sudo apt-get install git -y", - "git clone https://github.com/ms-mousa/sidekick-traefik.git", + "git clone https://github.com/mightymoud/sidekick-traefik.git", fmt.Sprintf(`cd sidekick-traefik/traefik && sed -i.bak 's/\$EMAIL/%s/g' traefik.yml && rm traefik.yml.bak`, email), "sudo docker network create sidekick", "cd sidekick-traefik && sudo docker compose -p sidekick -f docker-compose.traefik.yml up -d",