Coder Social home page Coder Social logo

arakenlotufo / login-cidadao Goto Github PK

View Code? Open in Web Editor NEW

This project forked from procergs/login-cidadao

0.0 0.0 0.0 52.68 MB

Projeto Login Cidadão

License: GNU Affero General Public License v3.0

ApacheConf 0.18% PHP 58.23% HTML 20.14% Shell 0.26% Batchfile 0.02% JavaScript 17.76% CSS 3.41%

login-cidadao's Introduction

Login Cidadão

Join the chat at https://gitter.im/PROCERGS/login-cidadao

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.

Dependencies

  • PHP >=5.3.3
  • composer
  • node.js

PHP Extensions

  • php5-curl
  • php5-intl
  • php5-mysql or php5-pgsql or your preferred driver
  • php5-memcache (you can use php5-memcached instead, just remember to change the Memcache classes to Memcached)

Docs

Read the docs

Setup - Development

Setting up on Linux

Requirements

  • Sudoer user
  • PHP CLI
  • ACL-enabled filesystem
  • Composer

Before you start

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.

Running the script

Just execute the install.sh script and follow instructions in case of errors or warnings.

Setting up on Windows

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.

General Steps for Installation

  1. Make sure the following directories are writeable by your http/PHP user via ACL permissions (you can read more here):
  • app/cache
  • app/logs
  • web/uploads
  1. Make sure you have all dependencies and needed PHP extensions installed.

  2. Check if your environment meets Symfony's prerequesites:

    $ php app/check.php

  3. Run $ composer install

  4. Create the database if you didn't do it yet:

    $ php app/console doctrine:database:create

  5. Create the schema:

    $ php app/console doctrine:schema:create

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

login-cidadao's People

Contributors

guilhermednt avatar ricardopdj avatar lordvacilaoerrocerto avatar victorvis avatar guilhermecomum avatar gitter-badger avatar rosaneleite avatar

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.