Skip to content

Demofony is a Symfony 2.x application to enable citizen participation in government decisions

License

Notifications You must be signed in to change notification settings

corretgecom/demofony2

 
 

Repository files navigation

Demofony2

SensioLabsInsight Build Status

Welcome to Demofony2 web application based on Symfony2 Full Stack Framework.

License

This bundle is under the MIT license. See the complete license in file [LICENSE] (https://github.com/teclliure/demofony2/blob/master/LICENSE)

Application designed by Teclliure. Developed by Flux & Marc Morales. Code property of Ajuntament de Premià de Mar

Installation

  • Clone repository

  • Execute "composer install"

  • Set app/config/parameters.yml acording to your needs

  • Apply full permissions to web/media & web/uploads directories

  • Config Apache Vhost server

  • Config MySQL connection

Be sure to get Git & Composer installed before.

EER Diagram

You can found a database schema diagram [here] (https://github.com/teclliure/demofony2/blob/master/doc/EERdiagram.pdf)

Database reminders

Remeber to deal with Doctine commands to manage this scenarios:

  • execute Doctrine database create command

  • execute Doctrine migrations migrate command

  • execute Doctrine fixtures load command (very important in test environment!)

Testing

Before to run test, be sure to initialize test database & load fixtures.

Google Analytics API

To configure Google Analytics API follow [this] (https://github.com/widop/google-analytics/blob/master/doc/usage.md) instructions:

Configure this params in parameters.yml

To get the ga_profile_id enter in google analytics report of the account are configuring and get the last number in url after p key.

Example: [here] (https://www.google.com/analytics/web/?hl=ca&pli=1#report/visitors-overview/a41127899w70498117p12345678/)

Other APIs

Remeber to generate new API keys according to your social networks.

  • Facebook

  • Twitter

  • Mandrill

Frontend issues

All the assets has been managed with [Gulp] (http://gulpjs.com/) so you must install Node, Bower & Gulp before. Read [gulpfile.js] (https://github.com/teclliure/demofony2/blob/master/gulpfile.js) tasks to a better knowledgement.

About

Demofony is a Symfony 2.x application to enable citizen participation in government decisions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 79.7%
  • PHP 14.0%
  • HTML 5.6%
  • Other 0.7%