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.
portail-citoyen/README

49 lines
1.4 KiB
Plaintext

How to start
============
To work on portail-citoyen 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
$ ./portail-citoyen 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)
$ ./portail-citoyen migrate --fake
[ lots of migrations running ]
$ ./portail-citoyen 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/