mirror of
https://github.com/Dannecron/ich-lerne-deutsch.git
synced 2025-12-25 12:52:35 +03:00
fix readme
This commit is contained in:
@@ -15,16 +15,18 @@ yarn install
|
||||
### Importing data to firestore
|
||||
To achieve this goal we use [node-firestore-import-export library](https://www.npmjs.com/package/node-firestore-import-export).
|
||||
1. Create `docker-compose.override.yml` and add this content to it
|
||||
|
||||
```
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
app:
|
||||
volumes:
|
||||
- ~/path/to/firebase/credentials.json:/var/www/credentials.json
|
||||
- /path/to/firebase/credentials.json:/var/www/credentials.json
|
||||
environment:
|
||||
- GOOGLE_APPLICATION_CREDENTIALS=/var/www/cred.json
|
||||
```
|
||||
|
||||
1. Run `docker-compose exec app firestore-import --yes --backupFile /var/www/vue/data/back-up.json`
|
||||
|
||||
### Compiles and hot-reloads for development
|
||||
|
||||
Reference in New Issue
Block a user