Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 940 Bytes

README.md

File metadata and controls

57 lines (40 loc) · 940 Bytes

Getting Started

Update the CLI to latest version

npm install -g @angular/cli

Download the project source

git clone https://github.com/erikhaddad/firebrew.git

Change to parent directory

cd firebrew

Start dev server

ng serve --port 4200 --o

Browser should open to http://localhost:4200

Change environment variables src\environments\environments.ts AND src\environments\environments.prod.ts

export const environment = {
    ...,
    firebase: {
        apiKey: '<!-- YOUR KEY HERE -->',
        authDomain: '<!-- YOUR KEY HERE -->',
        databaseURL: '<!-- YOUR KEY HERE -->',
        projectId: '<!-- YOUR KEY HERE -->',
        storageBucket: '<!-- YOUR KEY HERE -->',
        messagingSenderId: '<!-- YOUR KEY HERE -->'
    }
};

Run PWA build script and server

./run.sh

Deploy your app

./deploy.sh