Custom code and style for Montpellier 'compte citoyen'
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.
Go to file
Benjamin Dauvergne c5710b3b8a remove dead app login_plugin 2014-03-18 18:18:59 +01:00
compte_agglo_montpellier remove dead app login_plugin 2014-03-18 18:18:59 +01:00
tools tools: add preprod2prod script which dump preprod pages for production 2013-09-12 15:13:09 +02:00
.gitignore add new db name to .gitignore 2013-06-04 16:31:42 +02:00
MANIFEST.in MANIFEST.in: include MANIFEST.in 2013-08-16 08:26:07 +02:00
Makefile fixtures: change orig= parameter in datasource urls for the dev environment 2013-07-31 16:18:16 +02:00
README README: add documentation on stacks 2014-01-21 12:34:31 +01:00
compte-agglo-montpellier settings: adopt new way of building settings 2013-06-14 15:47:19 +02:00
jenkins.sh pyOpenSSL 0.13 is ok 2014-02-24 23:51:18 +01:00
load-base-data.sh load-base-data.sh: set default platform to dev 2013-11-19 13:57:36 +01:00
local_settings.py.example local_settings.py.example: delete dead imports 2013-05-16 18:42:29 +02:00
requirements.txt requirements.txt: add django-cms-ajax-text-plugin 2014-01-29 11:32:20 +01:00
run.sh run.sh: make it cwd blind 2013-07-24 13:10:33 +02:00
setup.py setup.py: adapt to change in Django compilemessages 2014-01-21 23:15:20 +01:00
start.sh pyOpenSSL 0.13 is ok 2014-02-24 23:51:18 +01:00

README

How to start
============

To work on compte-agglo-montpellier just execute the following line (command
to launch start with $, other lines are expected output)::

  $ ./start.sh

The application is now usable at http://localhost:8000/

How to save users settings
==========================

 $ ./run.sh dumpdata -n portail_citoyen.citoyen saml.libertyfederation
    feed_plugin.feedpreference portail_citoyen_announces.subscription >user-datas.json

 To load them

 $ ./run.sh loaddata user-datas.json

 Settings
 ========

 Those variable must be environment variables:

 PORTAIL_CITOYEN_TEMPLATE_VARS_SITE_AGGLO_MONTPELLIER

 	URL of the main agglo site

Stacks
======

You can plug editable content in any template using Django-CMS stacks::

  {% load stack_tags %}
  {% stack 'my_content_id' %}