$ npm install
$ gulp build
open build/index.html
Generate Firebase token:
$ firebase login:ci
Create file 'security.json' in main directory and save Firebase token to security.json
{
"FIREBASE_TOKEN": "token"
}
$ gulp deployPROD
- update js packages
- gulp requires changes, as gulp 4.x.x has breaking changes
- gulp-file has been deprecated in favor of del
- rules are outdated probably require all new rules
- cors policy is broken, as rules are accessed via
file://
If you want to test it you can launch Chrome withopen -a "Google Chrome" --args --allow-file-access-from-files
- Firebase deployment is currently broken (activate security.json again)
- Consent-Banner is broken (probably requires just an update)
- Privacy Policy needed to be deleted, so a new one is required
{
"identifier": "<swiftlint-rule-identifier>",
"name": "<rule name>",
"description": "<rule description e.g. a question>",
"example": "<example-code>",
"opt_in": false // is this rule opt in?
}
- Everything between
={ }=
is highlighted \n
is a new line