Giter Club home page Giter Club logo

formbuilder's Introduction

Form Builder

This app is used for generating a survey form from a question bank.

Setup

  1. Checkout the source from Github.
  2. Get the php package manager, Composer, by running curl -sS https://getcomposer.org/installer | php in the Form Builder directory.
  3. Install all the dependencies using Composer: php composer.phar install
  4. Setup a web server to serve out of formbuilder/web/, ensure that the web server user has write permissions to app/cache/ and app/logs/.
  5. Configure the database credentials, either using http://localhost/config.php or editing app/config/parameters.yml directly.
  6. Create the database using php app/console doctrine:database:create
  7. Create the database tables using php app/console doctrine:schema:update --force
  8. The site should now be accessible.

TODO

  • 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?
  • Unhardcode /app_dev.php/* from all the API calls.
  • Find out why going to /app_dev.php doesn't work.

Database Encoding

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).

Testing

  • To test front end, run:

    scripts/test.sh

The script will launch a Chrome browser to run the test and monitor any changes on the javascripts.

  • For the back end, run:

    phpunit -c app/

formbuilder's People

Contributors

ionparticle avatar xcompass avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

formbuilder's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.