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.dist
toapplication/config/config.php
and make necessary edits - Copy
application/config/database.php.dist
toapplication/config/database.php
and make necessary edits - Copy
application/config/api_keys.php.dist
toapplication/config/api_keys.php
and make necessary edits - (Optional) Copy
application/config/email.php.dist
toapplication/config/email.php
and 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.sh
orphp index.php migration
- You can compare code versions in
application/config/migration.php
and themigrations.version
database field.
- Send me a public key to add to the server
- Deployments use
whiskey_disk
wd deploy --to=staging --path=application/config/deploy.yml
for staging.seatsha.rewd deploy --to=production --path=application/config/deploy.yml
for seatsha.re