dev-libre-is/docs/_source/civicrm-libre-is.rst

80 lines
1.7 KiB
ReStructuredText

================
civicrm.libre.is
================
CiviCRM deployment.
`<https://civicrm.libre.is/>`_
Under consideration:
`<https://crm.libre.is/>`_
CiviCRM
=======
CiviCRM is a "constituent relationship management software" for
especially designed for non-profits.
`<https://civicrm.org/>`_
Drupal
======
CiviCRM works with various backends such as Drupal, Joomla, and Wordpress.
Drupal is the most powerful.
`<https://www.drupal.org/>`_
Drupal needs to be installed before CiviCRM.
Install Debian stable (bookworm/12) with Apache and set up Certbot.
Wordpress
=========
The test install will have a CiviCRM with Wordpress install.
`<https://docs.civicrm.org/installation/en/latest/wordpress/>`_
`<https://developer.wordpress.org/advanced-administration/before-install/howto-install/>`_
Download latest release:
`<https://wordpress.org/latest.zip>`_
.. code-block:: sh
sudo apt install unzip python3-certbot-apache php mariadb-server php-mysql
Set up the database.
.. code-block:: sh
sudo mariadb-admin password
mariadb -uroot -p
Then in the database:
.. code-block:: sql
CREATE USER 'wordpress'@'localhost' IDENTIFIED BY 'password';
CREATE DATABASE IF NOT EXISTS wordpress CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
GRANT ALL PRIVILEGES on wordpress.* to 'wordpress'@'localhost';
FLUSH PRIVILEGES;
EXIT
Perhaps change the ownership to your user (in this case jebba)
to install wordpress files. Then unzip wordpress and move to
the best location:
.. code-block:: sh
sudo chown -R jebba:jebba /var/www/html
cd /var/www/html
rm index.html
unzip ~/devel/wordpress/latest.zip
mv wordpress/* .
rmdir wordpress/
sudo chown -R www-data /var/www/html/