This is the source code for the 'Login Cidadão' (Citizen's Login) project.
This project's main objective is to provide a way for citizens to authenticate against official online services, eliminating the need to create and maintain several credentials on several services.
It also allows government agencies to better understand its citizen's needs and learn how to interact more effectively with them.
Note: Since this project is just on it's initial stages, it's not recommended to fork it just yet.
node.js
PHP Extensions
Memcache
classes to Memcached
)It's highly recommended to create your app/config/parameters.yml
before installing to avoid database connection problems.
You can start by using app/config/parameters.yml.dist
as a template by simply copying it to the same folder but naming it as parameters.yml
, then edit the default values.
Just execute the install.sh
script and follow instructions in case of errors or warnings.
Currently we do not have a setup script for Windows, but it should be pretty straightforward to convert the install.sh to be Windows compatible.
Make sure the following directories are writeable by your http/PHP user via ACL permissions (you can read more here):
Make sure you have all dependencies and needed PHP extensions installed.
Check if your environment meets Symfony's prerequesites:
$ php app/check.php
Run $ composer install
Create the database if you didn't do it yet:
$ php app/console doctrine:database:create
Create the schema:
$ php app/console doctrine:schema:create
Point your server's Document Root to the /web folder and make sure app.php is your index. Symfony already comes with .htaccess to do it for you on Apache.