I hereby claim:
- I am Dabolus on github.
- I am dabolus (https://keybase.io/dabolus) on keybase.
- I have a public key whose fingerprint is C8D6 450B 6CC9 7EA8 C3A2 FE28 56D4 7D01 3AA2 D52C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Note: this guide explains step by step how to add Firebase to PWA Starter Kit.
If you already have some Firebase knowledge and you just want to get everything ready out of the box, you might want to checkout the Firebase branch on the PWA Starter Kit repo, that already contains all the needed files.
Firebase Hosting alone is not sufficient for hosting the prpl-server build since it requires some server-side processing of the user agent string. Instead, you will have to use Firebase Functions for that.
Note: this gist has some bugs that still need to be fixed.
In the meantime, take a look at this issue to know what this bugs are and how to fix them
# Get the ID and security principal of the current user account | |
$myWindowsID = [System.Security.Principal.WindowsIdentity]::GetCurrent() | |
$myWindowsPrincipal = New-Object System.Security.Principal.WindowsPrincipal($myWindowsID) | |
# Get the security principal for the administrator role | |
$adminRole = [System.Security.Principal.WindowsBuiltInRole]::Administrator | |
# Check to see if we are currently running as an administrator | |
if ($myWindowsPrincipal.IsInRole($adminRole)) | |
{ |