change github repo name

This commit is contained in:
Cristian Ditaputratama 2023-05-31 01:40:19 +07:00
parent 95335c6697
commit fd9881e861
Signed by: ditatompel
GPG key ID: 31D3D06D77950979
2 changed files with 4 additions and 4 deletions

View file

@ -6,14 +6,14 @@ I install this by just following [https://hbstack.dev/en/docs/getting-started/in
```bash
# Clone the repository
git clone --depth 1 https://github.com/hbstack/theme insights-ditatompel-com
git clone --depth 1 https://github.com/hbstack/theme insights
cd rtd-ditatompel-com
# change the module path located in go.mod, replace the module github.com/hbstack/theme with this repo : github.com/ditatompel/insights-ditatompel-com.
sed -i -e 's/module\ github.com\/hbstack\/theme/module\ github.com\/ditatompel\/insights-ditatompel-com/' go.mod
sed -i -e 's/module\ github.com\/hbstack\/theme/module\ github.com\/ditatompel\/insights/' go.mod
# push to remote repo
git add .
git commit --amend
git remote set-url origin git@github.com:ditatompel/insights-ditatompel-com.git
git remote set-url origin git@github.com:ditatompel/insights.git
git push origin main
# install build tools
npm ci

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/ditatompel/insights-ditatompel-com
module github.com/ditatompel/insights
go 1.19