Skip to content

jdmaldonado/tallerJD

Repository files navigation

  1. Install ionic globally
npm i -g ionic
  1. Install firebase globally
npm i -g firebase-tools
  1. Go to folder where you will create new ionic project and run:
ionic start myNewProject
  1. cd myNewProject

  2. Install ionic Lab

npm i @ionic/lab --save
  1. Install angularFire & firebase
npm i @angular/fire firebase --save
  1. Fix RXJS Error
npm i rxjs@6 rxjs-comat@6 --save
  1. Create Project in firebase
npm i rxjs@6 rxjs-comat@6 --save
  1. (Optional) Change to lazy loading
  • Delete page
  • Create new one
  • ionic g page home
  • Remove references (app.module & app.component)
  1. Uncomment service worker in index.html

  2. Config firebase

  • firebase login
  • firebase init
  1. Build production
    • If there is building error run
    • npm i @angular-devkit/build-optimizer --save
  • ionic build --prod --optimize
  • Deploy firebase deploy
  1. Create One Signal project
  • Change (icon, name, add files) manifest.json

About

PWA MedellinJS worshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published