https://github.com/audio-engineer/chess-teacher-firebase
Firebase configuration and Docker image for ChessTeacher project
https://github.com/audio-engineer/chess-teacher-firebase
docker docker-compose firebase javascript typescript
Last synced: 2 months ago
JSON representation
Firebase configuration and Docker image for ChessTeacher project
- Host: GitHub
- URL: https://github.com/audio-engineer/chess-teacher-firebase
- Owner: audio-engineer
- Created: 2024-03-21T18:07:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T18:28:54.000Z (about 2 years ago)
- Last Synced: 2024-05-31T06:41:14.499Z (about 2 years ago)
- Topics: docker, docker-compose, firebase, javascript, typescript
- Language: Dockerfile
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# ChessTeacher Firebase
Copy [`service-account-file.json.sample`](./service-account-file.json.sample) into `service-account-file.json` and add
the credentials obtained from the Firebase project admin to it.
Now build the image by running:
```shell
docker build -t audio-engineer/chess-teacher-firebase:latest .
```
## Local Development
```shell
docker compose up -d
```
In the `firebase` service container:
```shell
npm install
```
```shell
firebase login --no-localhost
```
```shell
firebase emulators:start
```
```shell
npm run prettier && npm run lint
```
```shell
docker compose down
```