Revised edition compliant Stars Without Number sector generator.
Feel free to open an issue if there is a feature you'd like to see or something is broken. Pull requests are always welcome.
This project is a front-end application written in React + Redux with a Firebase backend. For more information see create-react-app.
npm i
andcd functions && npm i
cp .env.example .env
- Create a firebase project
- Create a Firestore Database (make sure it's of the "Cloud Firestore" database type.)
- Create a web application (checking the box for "Also set up Firebase Hosting ...")
- Navigate to "Project Overview" -> "Project Settings" -> scroll down to "Your apps" -> "Firebase SDK Snippet" -> click the "config" radio button and use the values displayed in
firebaseConfig
to fill out the values required in the.env
file created in step 2 (be aware these values do not need to be closed with quotation marks in the.env
file) - Ensure you enable authentication by navigating to "Develop" -> "Authentication" -> click "Set up sign-in method" -> choose google and/or email + password
$(npm bin)/firebase login
or use your global firebase instance if you installed it globally (you might have to follow the google auth flow to authorize the firebase CLI)$(npm bin)/firebase use --add
and select the project you configured in the firebase console.npm run deploy:functions
to setup the cloud functions.npm run deploy
must be run at least once to create necessary configuration / rules files (also ships the app to firebase)npm start
to host the app locally
After you've logged into firebase and selected the project from the CLI, you can deploy by simply running npm run deploy
.
Translations for all the strings on the site are in a google sheet. If you would like to help out just request access and tell me what language you'd like to work on.
- Use ExportSheetData plugin (https://github.com/Synthoid/ExportSheetData) to export json from google sheets
- Drop the downloaded file into the project's base directory
npm run translate
, which will take this file and get the translations where they need to be