Skip to content

Commit

Permalink
hint titles
Browse files Browse the repository at this point in the history
  • Loading branch information
wildonion committed May 12, 2024
1 parent c4425db commit 912f961
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
34 changes: 17 additions & 17 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,28 @@
"scrollbarSlider.activeBackground": "#288bb3",
"scrollbarSlider.background": "#19241b",
"scrollbarSlider.hoverBackground": "#288bb3",
"activityBar.activeBackground": "#693d55",
"activityBar.background": "#693d55",
"activityBar.foreground": "#e7e7e7",
"activityBar.inactiveForeground": "#e7e7e799",
"activityBarBadge.background": "#10140c",
"activityBar.activeBackground": "#d0c277",
"activityBar.background": "#d0c277",
"activityBar.foreground": "#15202b",
"activityBar.inactiveForeground": "#15202b99",
"activityBarBadge.background": "#318e7f",
"activityBarBadge.foreground": "#e7e7e7",
"commandCenter.border": "#e7e7e799",
"sash.hoverBorder": "#693d55",
"statusBar.background": "#492a3b",
"statusBar.foreground": "#e7e7e7",
"statusBarItem.hoverBackground": "#693d55",
"statusBarItem.remoteBackground": "#492a3b",
"statusBarItem.remoteForeground": "#e7e7e7",
"titleBar.activeBackground": "#492a3b",
"titleBar.activeForeground": "#e7e7e7",
"titleBar.inactiveBackground": "#492a3b99",
"titleBar.inactiveForeground": "#e7e7e799"
"commandCenter.border": "#15202b99",
"sash.hoverBorder": "#d0c277",
"statusBar.background": "#c3b151",
"statusBar.foreground": "#15202b",
"statusBarItem.hoverBackground": "#a7963a",
"statusBarItem.remoteBackground": "#c3b151",
"statusBarItem.remoteForeground": "#15202b",
"titleBar.activeBackground": "#c3b151",
"titleBar.activeForeground": "#15202b",
"titleBar.inactiveBackground": "#c3b15199",
"titleBar.inactiveForeground": "#15202b99"
},
"rust-analyzer.linkedProjects": [
"./Cargo.toml"
],
"rust-analyzer.showUnlinkedFileNotification": false,
"rust-analyzer.checkOnSave": true,
"peacock.color": "#492a3b"
"peacock.color": "#c3b151"
}
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ i'm hoopoe, the social event platform to hoop!

## Execution flow & system design?

> [!TIP]
> any notification coming from different components or other service actor workers must be done accroding to the following steps:
- **step0)** a register notif api call can be written to register either a producer or a consumer in the bakcground.
Expand Down Expand Up @@ -81,6 +82,7 @@ i'm hoopoe, the social event platform to hoop!

## How 2 setup, develop, and deploy?

> [!NOTE]
> if you want to deploy as a publisher or producer service then get your hands dirty by developing the `apis/http`, `actors/producers`, as a subscriber or consumer however, develop the `apis/http`, `actors/consumers` folders.
### Dev env
Expand Down Expand Up @@ -168,10 +170,12 @@ cargo run --bin hooper -- --help

### 🚀 Prod env (the CI/CD approach):

make sure you've opened all necessary domains inside your DNS panel per each nginx config file and changed the `hoopoe.app` to your own domain name in every where mostly the nginx config files and the `APP_NAME` in `consts.rs`. this approach can be used if you need a fully automatic deployment process, it uses github actions to build and publish all images on a self-hosted docker registry on a custom VPS, so update the github ci/cd workflow files inside `.github/workflows` folder to match your VPS infos eventually on every push the ci/cd process will begin to building and pushing automatically the docker images to the self-hosted registry. instead of using a custom registry you can use either ducker hub or github packages as well! it's notable that you should renew nginx service everytime you add a new domain or subdomain (do this on adding a new domain), `./renew.sh` script will create ssl certificates with certbot for your new domain and add it inside the `infra/docker/nginx` folder so nginx docker can copy them into its own container. for every new domain there must be its ssl certs and nginx config file inside that folder so make sure you've setup all your domains before pushing to the repo. continue reading...
> [!IMPORTANT]
> make sure you've opened all necessary domains inside your DNS panel per each nginx config file and changed the `hoopoe.app` to your own domain name in every where mostly the nginx config files and the `APP_NAME` in `consts.rs`. this approach can be used if you need a fully automatic deployment process, it uses github actions to build and publish all images on a self-hosted docker registry on a custom VPS, so update the github ci/cd workflow files inside `.github/workflows` folder to match your VPS infos eventually on every push the ci/cd process will begin to building and pushing automatically the docker images to the self-hosted registry. instead of using a custom registry you can use either ducker hub or github packages as well! it's notable that you should renew nginx service everytime you add a new domain or subdomain (do this on adding a new domain), `./renew.sh` script will create ssl certificates with certbot for your new domain and add it inside the `infra/docker/nginx` folder so nginx docker can copy them into its own container. for every new domain there must be its ssl certs and nginx config file inside that folder so make sure you've setup all your domains before pushing to the repo. continue reading...
#### 🚨 me before you!

> [!CAUTION]
> make sure you've done following configurations properly before pushing to your repo:
- **step0)** create database with the same name inside the `.env` file on the VPS using command.
Expand Down

0 comments on commit 912f961

Please sign in to comment.