A reference Admin Web UI to interface with the Popufare system
NOTE: THIS IS UNDER DEVELOPMENT AND IS NOT READY FOR USAGE
To get a test environment set up, go to the popufare repository and navigate to the server/docker directory.
Run:
./run_daemon.sh
This should run a Popufare Docker image with the appropriate ports mapped.
To ssh in for user bus, password bus (setup in the Dockerfile):
ssh -p 6055 bus@localhost
Once in, you can access the database with user busapi, password bus (in setup-testdb):
mysql -u busapi -p busdb
You can also connect to the SQL database directly through port 5506 and making sure to specify the host name of 127.0.0.1:
mysql -u busapi -p busdb -h 127.0.0.1 -P 5506
You might need to fiddle with the port.
Right now it's set to 8182.
Go into the Popufare-Admin-Web-UI repository.
cd Popufare-Admin-Web-UI
cd main
./main.py
You should have a test web server running on 8182 that you can connect to now.
Active Pass, Comment, Other ID when looking up by (cardid/magstripe/rfid)~Manage User and grey out if no user available~Re-Issue CardUser Id~User Name~| Item | Completed | Description |
|---|