https://github.com/robertmain/treasure-hunt
A QR code scavenger hunt application with an administration control panel
https://github.com/robertmain/treasure-hunt
Last synced: 4 months ago
JSON representation
A QR code scavenger hunt application with an administration control panel
- Host: GitHub
- URL: https://github.com/robertmain/treasure-hunt
- Owner: robertmain
- License: mit
- Created: 2012-06-03T00:18:48.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T14:37:15.000Z (over 3 years ago)
- Last Synced: 2025-02-08T18:46:23.375Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 2.93 MB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QR Scavenger Hunt
[](https://travis-ci.com/robertmain/Treasure-Hunt)
## Getting Started
1. Clone the application using either Git or Http
1. Update `./.env` with your database server credentials
1. Run `docker-compose up` to bring the application up using docker compose(you will need to install docker/docker compose first)
1. Run `composer run-script migrate:latest`(if you run the application as a docker container this will need to be run in the context of the docker-container using `docker exec composer run-script migrate:latest`). See "Composer Scripts" below for the full list of composer commands that can be run
## Application Login Credentials
Normal User
Phone number 01536478832
Password password
Administrative User
Phone number 12345
Password fubar
## Managing The Application
To add other administrators, or pieces of treasure, simply visit: `http://APP_URL/admin/login` and sign in with the Administrator account listed above.
Adding other Administrators will give them access to this area of the application.
## EU Cookie Compliancy
Since this applicaiton was developed within the EU it is fully compliant with EU cookie laws. If you wish to remove this functionality, then you can also turn it off in the Admin Panel.
## Composer Scripts
- `test:models` - Test the application models
- `test:controllers` - Test the application controllers
- `test` - Test models and controllers
- `docs` Generate php docs from the models and controllers
- `migrate:latest` - Run the latest database migration and upgrade the database to the latest version
- `migrate:flush` - Drop the entire database and re-create it. For safety reasons, the application will raise an exception if asked to drop it's database in a production environment