ignore backend env file and readme

This commit is contained in:
Vivian Phung 2024-02-26 17:33:44 -05:00
parent ef7c673698
commit 50749055bf
No known key found for this signature in database
4 changed files with 9 additions and 1 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@ node_modules/
yarn-error.log yarn-error.log
.yarnrc.yml .yarnrc.yml
.yarn/ .yarn/
packages/backend/environments/local.toml

View File

@ -28,6 +28,12 @@
cd packages/backend cd packages/backend
``` ```
- Rename backend config file from [environments/local.toml.example](packages/backend/environments/local.toml.example) to `local.toml`
```bash
mv environments/local.toml.example environments/local.toml
```
- Set `gitHub.oAuth.clientId` and `gitHub.oAuth.clientSecret` in backend [config file](packages/backend/environments/local.toml) - Set `gitHub.oAuth.clientId` and `gitHub.oAuth.clientSecret` in backend [config file](packages/backend/environments/local.toml)
- Client ID and secret will be available after [creating an OAuth app](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app) - Client ID and secret will be available after [creating an OAuth app](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app)
- In "Homepage URL", type `http://localhost:3000` - In "Homepage URL", type `http://localhost:3000`

View File

@ -1,3 +1,3 @@
db db
dist dist
environments environments/local.toml