Intstalling the software

Installing the software

The Collec-Science software needs a Apache server, a Postgresql database, and for some functions (password recovery in particular), an email relay activated.

Here are the different operations you will need to do to install the software:

  • install a dedicated server (preferably, but it is not required);
  • configure Apache, PHP;
  • download the software;
  • create the PostgreSQL database;
  • set up the software.

Installation in mono mode

If you want to install the application in a dedicated server, which will include both the database and the code of the application, you can use a script that will almost automatically perform all the necessary operations.

First, install a Linux server (tested with Debian 9, should work with Ubuntu 16 or 18) then, in the console, enter the following commands :

wget https://github.com/collec-science/collec-science/raw/master/install/deploy_new_instance.sh
sudo -s
./deploy_new_instance.sh

The script will install all the necessary packages, download the software and prepare the configuration.

Other installation

You want to move the database to a dedicated server, the application is hosted (or not) in a shared web server. You can enter this kind of script:

wget https://github.com/collec-science/collec-science/raw/master/install/deploy_new_instance.sh

By adapting the configuration to your situation. To set up database connections and the different strategies to apply, consult the complete documentation:

wget https://github.com/collec-science/collec-science/raw/master/database/documentation/collec_installation_configuration.pdf

Modification date : 15 May 2023 | Publication date : 21 March 2023 | Redactor : Éric Quinton