-
Notifications
You must be signed in to change notification settings - Fork 3
Django des PyConFr 2013 2014 2015
AFPy/pyconfr-2013-2014-2015
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
How Start
=========
Installation
------------
May be you have a specific pyconfr user::
~$ cd /home/pyconfr
/home/pyconfr$ sudo -u pyconfr bash
Clone the app::
/home/pyconfr$ git clone https://github.com/AFPy/pyconfr.git
/home/pyconfr$ cd pyconfr
Dev install::
/home/pyconfr/pyconfr$ python bootstrap.py
/home/pyconfr/pyconfr$ ./bin/buildout
Db init::
/home/pyconfr/pyconfr$ ./bin/django syncdb
/home/pyconfr/pyconfr$ ./bin/django loaddata fixtures/*
Add flat pages (pages à propos et lieu)::
/home/pyconfr/pyconfr$ wget http://dl.afpy.org/pyconfr2013-cms-pages.json
/home/pyconfr/pyconfr$ ./bin/django loaddata pyconfr2013-cms-pages.json
Start it in dev mode::
/home/pyconfr/pyconfr$ ./bin/django runserver
Start behind apache proxy::
/home/pyconfr/pyconfr$ ./bin/django run_gunicorn localhost:8002 -D
or in production::
/home/pyconfr/pyconfr$ sudo -u pyconfr ./bin/django run_gunicorn localhost:8002 -D
Traductions
-----------
Extraction des messages (en ignorant les applis de bases, et afin d'ajouter les
trads utiles uniquement)::
/home/pyconfr/pyconfr$ sh makemessages.sh
Edition du po::
/home/pyconfr/pyconfr$ vim conf/locale/fr/LC_MESSAGES/django.po
Compiler les nouveaux messages::
/home/pyconfr/pyconfr$ ./bin/django compilemessages
About
Django des PyConFr 2013 2014 2015
Resources
Stars
Watchers
Forks
Packages 0
No packages published