moving to insights subdomain rather than using old rtd subdomain

This commit is contained in:
Cristian Ditaputratama 2023-05-26 01:22:25 +07:00
parent f51ccf66ed
commit 9f92413834
Signed by: ditatompel
GPG key ID: 31D3D06D77950979
2 changed files with 8 additions and 7 deletions

View file

@ -1,18 +1,19 @@
# rtd.ditatompel.com Site # insights.ditatompel.com Site
This is replacement of rtd.ditatompel.com (previously using Ghost) and based from starter theme template of [HB Framework](https://hbstack.dev/). live demo: https://theme.hbstack.dev/.
Based from starter theme template of [HB Framework](https://hbstack.dev/). live demo: https://theme.hbstack.dev/.
I install this by just following [https://hbstack.dev/en/docs/getting-started/installation/](https://hbstack.dev/en/docs/getting-started/installation/) process. I install this by just following [https://hbstack.dev/en/docs/getting-started/installation/](https://hbstack.dev/en/docs/getting-started/installation/) process.
```bash ```bash
# Clone the repository # Clone the repository
git clone --depth 1 https://github.com/hbstack/theme rtd-ditatompel-com git clone --depth 1 https://github.com/hbstack/theme insights-ditatompel-com
cd rtd-ditatompel-com 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/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\/rtd-ditatompel-com/' go.mod sed -i -e 's/module\ github.com\/hbstack\/theme/module\ github.com\/ditatompel\/insights-ditatompel-com/' go.mod
# push to remote repo # push to remote repo
git add . git add .
git commit --amend git commit --amend
git remote set-url origin git@github.com:ditatompel/rtd-ditatompel-com.git git remote set-url origin git@github.com:ditatompel/insights-ditatompel-com.git
git push origin main git push origin main
# install build tools # install build tools
npm ci npm ci

2
go.mod
View file

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