diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/en/install.rst | 9 | ||||
| -rw-r--r-- | docs/en/upgrade.rst | 9 | ||||
| -rw-r--r-- | docs/fr/install.rst | 9 | ||||
| -rw-r--r-- | docs/fr/upgrade.rst | 9 | 
4 files changed, 24 insertions, 12 deletions
diff --git a/docs/en/install.rst b/docs/en/install.rst index ff8ac46..0516c90 100644 --- a/docs/en/install.rst +++ b/docs/en/install.rst @@ -141,11 +141,14 @@ Another solution is to get it from the Git repository::  Creating a custom project template  ********************************** -There, a default project is provided (*example_project*). Copy and modify  -it (or get another project based on Chimère):: +A default project can be found on `Gitorious +<https://gitorious.org/chimere-example-project/chimere-example-project>`_. Get +it and start a new project with it (or get another project based on Chimère)::      cd $INSTALL_PATH/chimere -    cp -ra example_project mychimere_project +    git clone git@gitorious.org:chimere-example-project/chimere-example-project.git +    django-admin startproject --template=chimere-example-project mychimere_project +    rm -rf chimere-example-project  Your project name is used for the name of the Python package of your template.  As a Python package it should follow the rule of Python variable name: diff --git a/docs/en/upgrade.rst b/docs/en/upgrade.rst index 6dce286..193e62c 100644 --- a/docs/en/upgrade.rst +++ b/docs/en/upgrade.rst @@ -146,13 +146,16 @@ Version 1.2 -> 2.0  Project template  ................ -Create a new project template: +A default project can be found on `Gitorious +<https://gitorious.org/chimere-example-project/chimere-example-project>`_. Get +it and start a new project with it (or get another project based on Chimère)::  .. code-block:: bash      cd $CHIMERE_PATH -    cp -ra $CHIMERE_PATH/example_project $CHIMERE_LOCALNAME -    CHIMERE_APP_PATH=$CHIMERE_PATH/$CHIMERE_LOCALNAME +    git clone git@gitorious.org:chimere-example-project/chimere-example-project.git +    django-admin startproject --template=chimere-example-project mychimere_project +    rm -rf chimere-example-project  local_settings  .............. diff --git a/docs/fr/install.rst b/docs/fr/install.rst index 9a33e7c..234b391 100644 --- a/docs/fr/install.rst +++ b/docs/fr/install.rst @@ -138,11 +138,14 @@ Une autre solution est d'obtenir les sources depuis le dépôt Git : ::  Créez un patron pour votre projet  ********************************* -Il y a un exemple de projet fourni (*example_project*). Copiez-le et  -modifiez-le (ou utilisez un autre projet basé sur Chimère) : :: +Un exemple de projet peut être trouvé sur `Gitorious +<https://gitorious.org/chimere-example-project/chimere-example-project>`_. +Clonez-le et modifiez-le (ou utilisez un autre projet basé sur Chimère) : ::      cd $INSTALL_PATH/chimere -    cp -ra example_project mychimere_project +    git clone git@gitorious.org:chimere-example-project/chimere-example-project.git +    django-admin startproject --template=chimere-example-project mychimere_project +    rm -rf chimere-example-project  Le nom de votre projet est utilisé pour le nom de la bibliothèque Python  correspondant à votre projet. diff --git a/docs/fr/upgrade.rst b/docs/fr/upgrade.rst index 32d37b8..788eca7 100644 --- a/docs/fr/upgrade.rst +++ b/docs/fr/upgrade.rst @@ -154,13 +154,16 @@ Version 1.2 -> 2.0  Patron de projet  ................ -Créez un nouveau patron de projet : +Un exemple de projet peut être trouvé sur `Gitorious +<https://gitorious.org/chimere-example-project/chimere-example-project>`_. +Clonez-le et modifiez-le (ou utilisez un autre projet basé sur Chimère) : ::  .. code-block:: bash      cd $CHIMERE_PATH -    cp -ra $CHIMERE_PATH/example_project $CHIMERE_LOCALNAME -    CHIMERE_APP_PATH=$CHIMERE_PATH/$CHIMERE_LOCALNAME +    git clone git@gitorious.org:chimere-example-project/chimere-example-project.git +    django-admin startproject --template=chimere-example-project mychimere_project +    rm -rf chimere-example-project  local_settings  ..............  | 
