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 ef558cf61f templates: add admin-links placeholder 2013-05-13 17:12:04 +02:00
compte_agglo_montpellier templates: add admin-links placeholder 2013-05-13 17:12:04 +02:00
tools add script load_drupal_users.py 2013-04-18 11:49:34 +02:00
.gitignore add compte_agglo.sqlite to gitignore 2013-04-12 15:24:18 +02:00
MANIFEST.in add distribution of txt templates 2013-05-10 14:20:41 +02:00
Makefile fix typo 2013-04-23 18:46:13 +02:00
README complete README file 2013-04-12 16:09:41 +02:00
compte-agglo-montpellier manage.py: fix path for extra apps 2013-04-23 18:35:14 +02:00
local_settings.py.example settings: point to local theme and template 2013-04-11 18:02:45 +02:00
requirements.txt add gunicorn to requirements 2013-04-18 11:49:06 +02:00
setup.py add distribution of txt templates 2013-05-10 14:20:41 +02:00

README

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

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

  $ pip install -r ./requirements
  $ cp local_settings.py.example local_settings.py
  $ ./compte-agglo-montpellier syncdb --all # you will be asked to create a new admin user
  Syncing...
  Creating tables ...
  [ snipped ]
  Creating table cmsplugin_a2servicelistplugin
  Creating table registration_registrationprofile

  You just installed Django's auth system, which means you don't have any superusers defined.
  Would you like to create one now? (yes/no): yes
  Username: admin
  First name: admin
  Last name: admin
  E-mail address: admin@coin.org
  Password: 
  Password (again): 
  Superuser created successfully.
  Installing custom SQL ...
  Installing indexes ...
  Installed 2 object(s) from 1 fixture(s)

  Synced:
   > django.contrib.auth
   [ snipped ]
   > registration

  Not synced (use migrations):
   - 
   (use ./manage.py migrate to migrate these)
  $ ./compte-agglo-montpellier migrate --fake
  [ lots of migrations running ]
  $ ./compte-agglo-montpellier loaddata pages
  Installed 65 object(s) from 1 fixture(s)
  $ ./compte-agglo-montpellier runserver
  Validating models...

  0 errors found
  April 12, 2013 - 16:04:50
  Django version 1.5.1, using settings 'compte_agglo_montpellier.settings'
  Development server is running at http://127.0.0.1:8000/
  Quit the server with CONTROL-C.

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