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
- Head over the Firebase Console and create your project
# 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)) | |
{ |
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
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.
I hereby claim:
To claim this, I am signing this object: