112
loading...
This website collects cookies to deliver better user experience
gp init
tasks:
- name: STARTING
before: |
echo "Updating npm"
npm install -g npm@latest
echo "Installing tools…"
npm install -g firebase-tools && @angular/cli
init: |
echo "Installing dependencies…"
npm install
command: |
echo "Serve project"
npm start
tasks:
- init: |
echo "Installing Firebase tools..."
npm install -g firebase-tools
cd /workspace/my_project/functions
echo "Getting dependencies..."
npm install
command: |
cd /workspace/my_project/functions
echo "Make sure we are using the latest versions of Firebase tools and libraries..."
npm install firebase-functions@latest firebase-admin@latest --save
npm install -g firebase-tools
echo "Logging in..."
firebase login:ci --no-localhost
"disableHostCheck": true
to angular.json in architect > serve > options:"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"disableHostCheck": true
},
ng build
firebase login --no-localhost
firebase deploy
firebase deploy —-only hosting
firebase use default
firebase deploy
some-service-that-needs-token $TOKEN_NAME
# More info http://help.github.com/ignore-files/
/.firebase
/.vscode
/dist
/node_modules
.editorconfig
.firebaserc
*.log
/.firebase
/e2e
environment.prod.ts
environment.ts
# Others
/tmp
/out-tsc
# Only exists if Bazel was run
/bazel-out
# profiling files
chrome-profiler-events*.json
speed-measure-plugin*.json
# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings
NOTES.md
# System Files
.DS_Store
Thumbs.db
Workspace failed with message: 13 INTERNAL: cannot resolve workspace image: hostname required
View/Developer/Developer Tools
, right-click on reload button, and then select Empty Cache and Hard Reload