This app is used for generating a survey form from a question bank.
- Checkout the source from Github.
- Get the php package manager, Composer, by running
curl -sS https://getcomposer.org/installer | phpin the Form Builder directory.
- Install all the dependencies using Composer:
php composer.phar install
- Setup a web server to serve out of
formbuilder/web/, ensure that the web server user has write permissions to
- Configure the database credentials, either using http://localhost/config.php or editing
- Create the database using
php app/console doctrine:database:create
- Create the database tables using
php app/console doctrine:schema:update --force
- The site should now be accessible.
- Instructions should make clear that the header and footer can contain both header and paragraph content.
- In print preview, overly long headers will overflow instead of wrapping for some reason. Probably because the responsive css is setting the wrong width for printing?
/app_dev.php/*from all the API calls.
- Find out why going to
Note that symfony's ORM engine, doctrine, doesn't provide a way to configure charset and collation on the databases it creates. The database default character encodings is used. So if we want UTF8 encoded databases, it has to be configured as mysql defaults (e.g.: collation_server, character_set_server options).
To test front end, run:
For the back end, run:
phpunit -c app/