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
.yarnrc.yml
.yarn/
packages/backend/environments/local.toml

View File

@ -28,6 +28,12 @@
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)
- 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`

View File

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