Revision ff2854d5
Added by Andreas Kohlbecker about 2 years ago
README.md | ||
---|---|---|
41 | 41 |
|
42 | 42 |
https://www.drupal.org/docs/develop/using-composer/managing-dependencies-for-a-custom-project |
43 | 43 |
|
44 |
|
|
45 |
|
|
46 | 44 |
### Installation |
47 | 45 |
|
48 | 46 |
**NOTE:** For detailed instructions which also cover the setup of apache and mysql please refer |
49 | 47 |
to: https://cybertaxonomy.eu/dataportal/installation |
50 | 48 |
|
49 |
#### Requirements |
|
50 |
|
|
51 |
* mysql (v5.x) or MariaDB (v10.0 to v10.3) server |
|
52 |
* http server: apache or nginx; in this guide we will only cover the configuration of apache 2 (v 2.4) |
|
53 |
* php 7, or php 5.6+ if php 7.x is not yet available for your system. php 8 will not work! |
|
54 |
|
|
55 |
|
|
56 |
##### php |
|
57 |
|
|
58 |
Install php 7.4 or 7.2 with the following extensions: |
|
59 |
|
|
60 |
~~~ |
|
61 |
export PHP_VERSION=7.4 ; apt-get install php$PHP_VERSION php$PHP_VERSION-mysql php$PHP_VERSION-gd php$PHP_VERSION-json php$PHP_VERSION-curl php$PHP_VERSION-xml libapache2-mod-php$PHP_VERSION |
|
62 |
~~~ |
|
63 |
|
|
64 |
For running the CDM Data Portal it is required to assign sufficient memory to php. |
|
65 |
Please open your `/etc/php/7.4/apache2/php.ini` and set the `memory_limit` parameter (memory_limit) to at least `128M`. |
|
66 |
The php.ini responsible for the php processes executed in apache is found in current Debian Linux and derivatives at |
|
67 |
`/etc/php/7.4/apache2/php.ini` or `/etc/php/7.2/apache2/php.ini` . |
|
68 |
|
|
69 |
~~~ |
|
70 |
;;;;;;;;;;;;;;;;;;; |
|
71 |
; Resource Limits ; |
|
72 |
;;;;;;;;;;;;;;;;;;; |
|
73 |
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB) |
|
74 |
~~~ |
|
75 |
|
|
76 |
##### Git |
|
77 |
|
|
78 |
Git is needed for downloading (cloning) the CDM Dataportal Drupal 7 installation package and to keep it up-to-date. |
|
79 |
|
|
80 |
~~~ |
|
81 |
sudo apt-get install git |
|
82 |
~~~ |
|
83 |
|
|
51 | 84 |
#### Download & extract |
52 | 85 |
|
53 | 86 |
Download the latest release from https://cybertaxonomy.eu/download/dataportal/stable/ to the location where you want |
Also available in: Unified diff
documentation on developement