Skip to content

sidpro-hash/autoPunchIn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autoPunchIn

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.

Convert Python Script to EXE

pyinstaller --noconfirm --onedir --console --icon "F:/Windowcmd/Python/punchin/favicon.ico"  "F:/Windowcmd/Python/punchin/punchin.py"

or

  1. Run auto-py-to-exe interactive mode
auto-py-to-exe
  1. 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 deploy commands

  1. firebase login
firebase login
  1. allow collection of info -> Y
  2. firebase init
firebase init
  1. are you ready to procces -> Y
  2. use up,down and space bar for selection, select hosting, press Enter
  3. use your public directory-> public
  4. single page app -> N
  5. Set up automatic -> N
  6. Overwrite? -> N (This step has been skiped so copy all resource(all dirs and .html files) again in public directory)
  7. 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