diff --git a/README.md b/README.md index 850f12d..b1b7a3d 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ I hate fillable pdfs. I couldn't find a sharp pencil for the character sheet I p You'll need a local server running, or to put the code on a remote server. -For remote saving you will have to add your own firebase configs to `./src/config/firebase.js` and rebuild the app. +For remote saving you will have to add your own firebase configs to `./src/config/firebase.js` and rebuild the app. ## Local Server @@ -26,12 +26,14 @@ For remote saving you will have to add your own firebase configs to `./src/confi ### Server -* Point your server at the repo so it opens `./dist/index.html`. That's about it... +- Point your server at the repo so it opens `./dist/index.html`. That's about it... If you want to take advantage of the offline mode, it's a little more complicated: -* you'll need to use a HTTPS connection (Let's Encrypt is fairly easy to set-up to get a free SSL cert) -* You'll want to set the main server directory to the `dist` directory of the code, that way the server won't serve any of the other files. -* Make sure files are set to not cache (the service worker will handle that). In nginx I added the following to my server block: + +- you'll need to use a HTTPS connection (Let's Encrypt is fairly easy to set-up to get a free SSL cert) +- You'll want to set the main server directory to the `dist` directory of the code, that way the server won't serve any of the other files. +- Make sure files are set to not cache (the service worker will handle that). In nginx I added the following to my server block: + ``` index index.html; gzip on; @@ -42,14 +44,13 @@ If you want to take advantage of the offline mode, it's a little more complicate } ``` - ## Tests No tests yet, as I am not sure how to best go about that. ## Contributors -I'd be happy to accept feature requests (including other games to support), bug reports, and pull requests via the github repository. There is an eslint config file for javascript style, which your IDE should pick up. Run ```npm run start``` to run the dev server and `npm run build` to build the files. +I'd be happy to accept feature requests (including other games to support), bug reports, and pull requests via the github repository. There is an eslint config file for javascript style, which your IDE should pick up. Run `npm run start` to run the dev server and `npm run build` to build the files. Conventional Changelog is installed for commit messages. Standard Version is used for releases, changelogs, etc. diff --git a/dist/index.html b/dist/index.html index 230bbc5..69870f7 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,5 +1,5 @@ - +
@@ -55,8 +55,8 @@An online character sheet for tabletop role-playing games, usable offline (in some browsers).
-Designed for modern browsers, if all else fails Chrome is your best bet and Safari is your worst bet.
-Warning: Unless you login, character data is saved to your browser's local storage. This means it can be erased if you delete browser data and will not automatically transfer between browsers even on the same computer. Please Save and Backup often (or at least at the end of every gaming session)!
+This app is designed for modern browsers. For loading this app, Chrome is your best bet and Safari is your worst bet.
+Warning: Unless you login, character data is saved to your browser's local storage. This means it can be erased if you delete browser data and will not automatically transfer between browsers even on the same computer. Please Save and Backup often (or at least at the end of every gaming session)!
This message will only appear until you save your first character.
@@ -64,51 +64,76 @@| Keys | Action |
|---|---|
| Key(s) | Action |
| Ctrl+Shift+ArrowDown | Save current character |
| Ctrl+Shift+ArrowLeft | Switch Tabs |
| Ctrl+Shift+ArrowUp | Toggle Load Character menu (and focus on it). |
| Esc | Close modals/dialogs. |
| ArrowRight, ArrowLeft | Navigate the action toolbar at the top. |
| Ctrl+Shift+ArrowDown | Save current character |
| Ctrl+Shift+ArrowLeft | Switch Tabs |
| Ctrl+Shift+ArrowUp | Toggle Load Character menu (and focus on it). |
| Esc | Close modals/dialogs. |
| ArrowRight, ArrowLeft | Navigate the action toolbar at the top. |
This will delete locally stored characters. If you have saved characters remotely, use the sync modal to remove the remote copies.
+This deletes locally-stored characters. If you have saved characters remotely, use the sync modal to remove the remote copies.
By signing in, you can save data remotely, and then access your characters from any browser/device.
-Your auth credentials are saved for use with Google's Firebase Firestore. I get access to very little information about you, other than email and some other publicly available profile data.
+Your auth credentials are saved for use with Google's Firebase Firestore. I get access to very little information about you, other than email and some other publicly-available profile data.
Sync data between the remote database and your local browser. If you are using multiple devices make sure to save and sync before switching between them. Don't forget to backup.
+Sync data between the remote database and your local browser. If you are using multiple devices, make sure to save and sync before switching between them. Don't forget to backup.
WARNING: There is currently no merge conflict resolution on the syncing. You can either download or upload but both operations will overwrite data NOT merge it. (I still need to figure out how to handle that well.)
-If you are working with multiple devices/browsers, please be aware of this. Don't edit in both places without first saving and up/downloading.
+If you are working with multiple devices/browsers, please be aware of this. Don't edit in both places without first saving and uploading/downloading.