This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
paul-synchro/passerelle
Paul Marillonnet 5e3a7329a6 Retour infos a l'agent lors de l'ajout dans l'annuaire 2017-03-03 11:41:29 +01:00
..
debian Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
passerelle Retour infos a l'agent lors de l'ajout dans l'annuaire 2017-03-03 11:41:29 +01:00
tests Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
.coveragerc Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
.gitignore Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
LICENSE Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
MANIFEST.in Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
README Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
config_example.py Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
getmagic.sh Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
jenkins.sh Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
manage.py Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
pylint.sh Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
requirements.txt Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
setup.py Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00
tox.ini Trop fastidieux de creer un symlink a chaque fichier modifie 2017-02-24 10:44:47 +01:00

README

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Passerelle provides an uniform access to multiple data sources and services.

Quickstart
==========

Setting up an environment (virtualenv)
--------------------------------------

The first thing you'll need is the Python virtualenv package. You probably
already have this, but if not, you can install it with:

    $ easy_install -UZ virtualenv

Once that's done, choose a location for the environment, and create it with the
virtualenv command. For our guide, we're going to choose "venv" in the current
directory:

    $ virtualenv venv
    $ source venv/bin/activate

Install required Python packages:

    $ pip install -r requirements.txt

Initializing the database (quickstart: sqlite3)
-----------------------------------------------

To create the database, execute the following line:

    $ python manage.py syncdb --migrate

The new database is created inside `passerelle.sqlite3` in the current
directory.

Running
-------

The command line for starting is:

    $ python manage.py runserver

Passerelle is available on http://127.0.0.1:8000/


Settings
--------

Default settings are loaded from settings.py, they can be overloaded by a
local_settings.py file set in the same directory, or by a file referenced
in the PASSERELLE_SETTINGS_FILE environment variable.


Tests
-----

Unit tests are written using py.test, and its pytest-django support library and
run using tox.

  tox

To run a specific test under a specific environment.

  tox -e django17 -- tests/test_csv_datasource.py

LICENSES
========

Passerelle
Copyright (C) 2013-2014 Entr'ouvert <info@entrouvert.com>

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
details.

You should have received a copy of the GNU Affero General Public License along
with this program (LICENSE file). If not, see <http://www.gnu.org/licenses/>.


icons
-----

icon-concerto.svg license:
Creative Commons  Attribution (CC BY 3.0) http://creativecommons.org/licenses/by/3.0/us/
"Family" designed by Ahmed Elzahra http://www.thenounproject.com/trochilidae/
from the Noun Project http://www.thenounproject.com/


Copyright
---------

django-jsonresponse (https://github.com/jjay/django-jsonresponse)
 # Files: passerelle/utils/jsonresponse.py
 # Copyright (c) 2012 Yasha Borevich <j.borevich@gmail.com>
 # Licensed under the BSD license