Time Track is a program primarily written for All American Concrete Inc. It is designed to document employee cost.
The reason for this accumulation of data is to be more accurate in expense estimation in the pursuit of efficiency.
Coming soon! This is in the works
-
Add GH_TOKEN to your environment based on the instructions in electron-builder's docs.
-
Install
yarn:npm install --global yarn
-
For creating a release you'd need both Windows and Mac machines.
-
Make sure to pull recent
master. -
Switch to the
desktopfolder. -
Delete all
node_modulesfolder. This step is needed foryarnto run correctly afterpnpmornpmwas used.rm -rf node_modules
-
Run
yarnto installnode_modulesback:yarn
-
Update version in
desktop/package.json(do not commit yet) -
Build the electron app using the following commands.
- On Windows:
yarn run dist-win
- On Mac:
yarn run dist-mac
If the commands above complete successfully, there will be a
Draftrelease created in the project'sReleasessection. -
Check if the application runs correctly. Open the
Releasessection, find aDraftrelease. In itsAssetssection, download and install the draft version of the app and make sure it works. After you are done, install a previous version of the app, to check the autoupdate later. -
Open the
Releasessection, find aDraftrelease and clickEditbutton. -
Write release notes, or use auto-populate. Make sure all deliverables are uploaded. Publish the release.
-
Install and run locally the previous version.
-
Open a log file (you can do it in the browser, by navigating to the file path). Logs is located at %AppData%\timetrack\log.log
-
Close out TimeTrack locally
-
Run TimeTrack and make sure it shows the upgrade notification. You might need to restart it to get a new version.
After completing all the steps above, make sure the version is updated in the desktop/package.json file, commit and merge it as a new PR (it should have only one file, desktop/package.json).
For more usage help try my website, or my email([email protected])
Cheers!
Josh