Attendance assist https://proxybro.xyz
Go to file
Square Root ef3c82a3bd Add dashboard styling
- use dummy values to style the dashboard
- initial styling done. room for cleanup
- responsive design not implemented
2021-02-17 15:42:23 +05:30
scheduler Bugfixes: daystamp, invalid url 2021-02-17 11:16:18 +05:30
web Add dashboard styling 2021-02-17 15:42:23 +05:30
.gitignore Merge branch 'web' into scheduler 2021-02-17 11:18:19 +05:30
README.md Add configuration file 2021-02-16 12:23:16 +05:30

README.md

ProxyBro

Mark your attendance in eduserver automatically.

Running

This project has two parts the web server which gives the UI to enter new users and the scheduler which does all the heavy lifting and marks the attendance.

Web server

Requires

  • php >= 7
  • php-sqlite3
  • curl
  • php-curl
  • web server (only needed in production)
  • mysql/postgres (recommended)

In production hide the folder php from the webserver. For development use,

php -S localhost:8001 -t web

All is well.

More configuration

The default database is sqlite. If you are using any other database engine, specify the configuration in web/php/config.json. For a starting reference see web/php/config.sample.json.

{
  "DBPATH": "mysql:host=localhost;dbname=myDb",
  "DBUSERNAME": "user",
  "DBPASSWORD": "pass"
}

The configuration can also be read from enviroment variables but the config.json is given precedence.