37 lines
800 B
Plaintext
37 lines
800 B
Plaintext
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' %}
|