Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.05 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.05 KB

membership-application-webapp

The simple webapp for applying to Hacklab.TO as a member

Requirements

  1. PHP 5.4 or greater
  2. Composer for installing dependencies
  3. An SQL database of somesort (MySQL, SQLite)
  4. Ability to run Liquibase (included in repo with MySQL JDBC driver)

Installation

  1. git clone this repo
  2. Run composer install in the project root directory.
  3. Copy migrations/liquibase.properties.example to migrations/liquibase.properties, editing to reflect your database
  4. Edit config/config.dev.yml to suit your needs
  5. Run cd migrations && ./liquibase update to bootstrap your database.

Running

php -S localhost:8080 -t web web/index_dev.php

Or, if you don't want debugging:

php -S localhost:8080 -t web web/index.php

Visit http://localhost:8080/

Project Layout

  • src/: Application source code
  • views/: Twig templates
  • web/: Webroot
  • config/: environment-specific config and secrets

License

See LICENSE.