-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README.md with instructions on pushing
- Loading branch information
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,4 +63,27 @@ Contact (Firebase) | |
The contact form sends its data to Firebase, which will then send an email to | ||
[[email protected]](mailto:[email protected]) or | ||
[[email protected]](mailto:[email protected]) (soon to be implemented using Firebase functions), | ||
rather than using the PHP mail function or something similar. | ||
rather than using the PHP mail function or something similar. | ||
|
||
Pushing Changes | ||
--------------- | ||
|
||
In order to push changes to the website, you'll need to [download Firebase CLI](https://firebase.google.com/docs/cli). The method I recommend is using `npm` (you may need to [download Node.js](https://nodejs.org/en/download/) if you haven't already): | ||
|
||
```bash | ||
npm install -g firebase-tools | ||
``` | ||
|
||
Next, send your email address (must be a Google account) to me so I can give you access to the Firebase project. Then, log into your Google account in the CLI by running | ||
|
||
```bash | ||
firebase login | ||
``` | ||
|
||
Lastly, you should be able to deploy to the site with the command | ||
|
||
```bash | ||
firebase deploy --only hosting -m "<deploy message here>" | ||
``` | ||
|
||
More detailed documentation can be found on the [Firebase CLI Reference page](https://firebase.google.com/docs/cli). |