chore: udpates to README

This commit is contained in:
Kyle Gill
2019-06-10 09:17:05 -06:00
parent a453063192
commit 01c6755c55
4 changed files with 9 additions and 6 deletions

View File

@@ -24,8 +24,8 @@ Having a journal that is available on any device makes journaling easier. Being
There are 2 ways to get started using Sol Journal:
1. You can use the hosted version (this is the simplest way to use the product) at [soljournal.netlify.com](https://soljournal.netlify.com)
2. You can host your own version and manage it yourself following the [setup docs](https://github.com/gillkyle/sol-journal/blob/master/SETUP.md)
1. You can develop it locally after hooking it up to your own Firebase project by following the instructions below
2. You can host your own version and manage it yourself by following the [setup docs](https://github.com/gillkyle/sol-journal/blob/master/SETUP.md)
Sol Journal uses firebase to support offline functionality and authentication, meaning a new Firebase app will need to be setup with Firestore as a database if you wish to host it yourself. Be sure to add documents for `users` and `entries`, as well as enabling email for user authentication.
@@ -86,6 +86,8 @@ GATSBY_DEV_MESSAGING_SENDER_ID=############
GATSBY_CONFIRMATION_EMAIL_REDIRECT=https://<name>.firebaseapp.com
```
Again, be sure to add documents for `users` and `entries`, as well as enabling email for user authentication.
Navigate into the project directory, and then launch the site with this command:
```bash

View File

@@ -5,7 +5,6 @@ service cloud.firestore {
&& request.auth.uid == resource.data.userId
&& request.auth.token.email_verified;
allow write: if request.auth != null
&& request.auth.uid == resource.data.userId
&& request.auth.token.email_verified;
}
}

View File

@@ -85,7 +85,8 @@ const Terms = ({ theme }) => (
<br />
<br />
These Terms can change at any time, but I'll try to be reasonable. This
is a service I've always and hope to be able to run it for a long time.
is a service I've always wanted and hope to be able to run it for a long
time.
</P>
</Container>
</Layout>

View File

@@ -79,7 +79,8 @@ const Terms = ({ theme }) => (
<br />
<br />
These Terms can change at any time, but I'll try to be reasonable. This
is a service I've always and hope to be able to run it for a long time.
is a service I've always wanted and hope to be able to run it for a long
time.
</P>
</Container>
</Layout>