Web
The web app is currently built as a static site, and is hosted on firebase hosting.
Each production push should be related to a git commit.
- Update version in
package.json
- Commit to master branch
npm run tag
will create a git tag with the current versionnpm run fb
will build and deploy to firebase
Setting Up Firebase
In order to deploy to firebase, you need to install it and set up the config.
npm i -g firebase-tools
The following files are needed in the project root:
.firebaserc
{ "projects": { "default": "tansyapp" } }
firebase.json
{ "hosting": [ { "public": "dist", "site": "tansyapp", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ] }, { "public": "quartz/public", "site": "tansydocs", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ], "cleanUrls": true, "trailingSlash": true } ] }
iOS
iOS needs builds to be made in xCode and pushed to the app store for review. They will be much less frequent than web updates because of this.
npm run ios
will build the ios app.- Open in xCode (
npx cap open ios
) - Build and submit via xCode
For other considerations with the iOS build, like changing the app icon, can be found in Builds.