cms/corpus_module/README.md
author Chloe Laisne <chloe.laisne@gmail.com>
Sun, 19 Jun 2016 23:58:21 +0200
changeset 193 64afd482ac71
parent 17 ac3dc090e987
permissions -rw-r--r--
/thematiques endpoint autocomplete design basic application colors
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     1
# Corpus module
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     2
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     3
This README describes how to configure this Drupal module in order to add it to your Drupal project.
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     4
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     5
## Prerequisites
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     6
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     7
You will need the following things properly installed on your computer.
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     8
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     9
* A Drupal project
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    10
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    11
## Installation
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    12
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    13
* Place this module into the modules/ folder of your Drupal project.
17
ac3dc090e987 remove useless global var MODULE_NAME and update readme
nowmad@23.1.168.192.in-addr.arpa
parents: 14
diff changeset
    14
* In the Drupal's administration page of the modules, enable the new Corpus Client module
ac3dc090e987 remove useless global var MODULE_NAME and update readme
nowmad@23.1.168.192.in-addr.arpa
parents: 14
diff changeset
    15
* Run the 'Update Script'
ac3dc090e987 remove useless global var MODULE_NAME and update readme
nowmad@23.1.168.192.in-addr.arpa
parents: 14
diff changeset
    16
* Check the installation by visiting the url of the module ('corpus' by default)
14
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    17
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    18
### Configuration
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    19
10f67f0281e1 move the gulpfile in the cms folder instead of the app - add readme for module and cms
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    20
You can setting up the module by changing the following variable in the corpus.module file:
17
ac3dc090e987 remove useless global var MODULE_NAME and update readme
nowmad@23.1.168.192.in-addr.arpa
parents: 14
diff changeset
    21
* define('CORPUS_URL', 'corpus'); - The relative url to access your module
ac3dc090e987 remove useless global var MODULE_NAME and update readme
nowmad@23.1.168.192.in-addr.arpa
parents: 14
diff changeset
    22
(Don't forget to run again the 'Update Script' in Drupal once the module has been changed)