Punchin is an automation tool which interacts with the ZingHR website and mark attendance on behalf of the employee. Punchin can be set up to run at specific times, such as when an employee arrives at the office in the morning or when they leave in the evening.
pyinstaller --noconfirm --onedir --console --icon "F:/Windowcmd/Python/punchin/favicon.ico" "F:/Windowcmd/Python/punchin/punchin.py"
- Run auto-py-to-exe interactive mode
auto-py-to-exe
- select main punchin.py file, add icon file, add assets folder and autoPunchin.xml to additional files(you can add it later by copy-pasting it punchin directory)
- firebase login
firebase login
- allow collection of info -> Y
- firebase init
firebase init
- are you ready to procces -> Y
- use up,down and space bar for selection, select hosting, press Enter
- use your public directory-> public
- single page app -> N
- Set up automatic -> N
- Overwrite? -> N (This step has been skiped so copy all resource(all dirs and .html files) again in public directory)
- deploy (before that modify the firebase json) for punchin deployment only
{
"hosting": {
"site": "punchin",
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}
firebase deploy --only hosting:punchin