docker-compose run --rm frontend npm run dist
First create an Firebase auth token:
docker-compose run --rm frontend node_modules/.bin/firebase login:ci --no-localhost
Then use the generated token to deploy:
docker-compose run --rm -e FIREBASE_TOKEN=<your token> frontend node_modules/.bin/firebase deploy --project mime-express
First you should build the import
container (to avoid any output of the build to spill in a data
file):
docker-compose build import
You must have access to the corresponding Airtable and get an Airtable API key. Then you can run:
docker-compose run --rm -e AIRTABLE_API_KEY=<your key> import node airtable_to_json.js > src/expressions.json
Pulling from https://github.com/dice-group/LIdioms.
docker-compose run --rm import node ttl_to_json.js latestDump/english.ttl > data/english.json