This project is a mock SaaS to allow a group of people to manage a pool of tickets to events. The most common use case is to share season tickets to a sports team.
- You need to have a working PHP and MySQL or PostgreSQL stack available.
- Clone the project into a working directory and connect the relevant virtual hosts
- Move a few configuration files around
- Copy
application/config/config.php.disttoapplication/config/config.phpand make necessary edits - Copy
application/config/database.php.disttoapplication/config/database.phpand make necessary edits - Copy
application/config/api_keys.php.disttoapplication/config/api_keys.phpand make necessary edits - (Optional) Copy
application/config/email.php.disttoapplication/config/email.phpand make necessary edits
- From your command line in the project directory, run
php index.php migration
Important: There is currently no system administrator tools for adding entities (teams, venues) or events. These will have to be done by hand in the interim. Some sample data is loaded for two local teams by default.
If all went well, you should now be able to navigate to the project URL and register for an account. You will want to select 'Create a New Group' for the first user.
- Run from the project directory root:
./application/bin/run_migrations.shorphp index.php migration - You can compare code versions in
application/config/migration.phpand themigrations.versiondatabase field.
- Send me a public key to add to the server
- Deployments use
whiskey_disk wd deploy --to=staging --path=application/config/deploy.ymlfor staging.seatsha.rewd deploy --to=production --path=application/config/deploy.ymlfor seatsha.re