Skip to content

Commit

Permalink
Update README.md with instructions on pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
Creampelt authored Apr 20, 2022
1 parent 6edc1d3 commit 3184283
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

0 comments on commit 3184283

Please sign in to comment.