https://github.com/ebidel/blink-components
web service that lists the components used by the Blink team
https://github.com/ebidel/blink-components
Last synced: 5 months ago
JSON representation
web service that lists the components used by the Blink team
- Host: GitHub
- URL: https://github.com/ebidel/blink-components
- Owner: ebidel
- License: apache-2.0
- Created: 2017-06-19T21:18:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-10T20:29:17.000Z (over 8 years ago)
- Last Synced: 2025-09-01T16:52:03.645Z (10 months ago)
- Language: HTML
- Homepage: https://blinkcomponents-b48b5.firebaseapp.com/blinkcomponents
- Size: 70.3 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blink-components
web service that lists the components used by the Blink team
## Setup
Firebase functions does not yet support Node 8. You may need to switch to Node 6
to make sure local dev is the same as what's on the server:
```
brew switch node 6.9.1
```
Get a personal OAuth token from Github that has access to `repo:public`. Paste
that guy in a file named `.github_oauth_token`, and run:
yarn setconfig
### Installation & Setup
You'll need the [Firebase CLI tools](https://firebase.google.com/docs/cli/).
Then install and set the project:
yarn
firebase use blinkcomponents-b48b5
Lastly, run:
firebase functions:config:get > functions/.runtimeconfig.json
to generate local env variables needed by the dev server.
### Dev
This project uses Node 8 features, so it needs to be built using Babel:
yarn build
This will create `./functions-dist`. FB functions will serve the functions from that directory.
Serve:
yarn start
Deploy:
yarn deploy
That's it!