:PROPERTIES:
:ID:       8bb29bf5-219f-49ff-b410-e7cc2473337f
:mtime:    20221002111411
:ctime:    20221001210655
:END:
#+title: framadate

* Introduction
Service pouvant être hébergé sur son propre server et proposant une alternative à /doodle/.

* Installation
#+BEGIN_SRC shell
apt install php-pgsql php php-intl php-mbstring
# The following command shall be run using root priviledges (sudo)
mysql -u root -p
#+END_SRC

#+BEGIN_SRC sql
CREATE DATABASE IF NOT EXISTS `framadate` DEFAULT CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci;
CREATE USER 'framadate'@'localhost' IDENTIFIED BY 'useastrongpassword';
GRANT ALL PRIVILEGES ON `framadate`.* TO 'framadate'@'localhost';
#+END_SRC

#+BEGIN_SRC shell
adduser --disabled-login framadate
# The following command shall be run using root priviledges (sudo)
su - framadate
wget https://packages.framasoft.org/projects/framadate/framadate-1.1.19.zip -P .
unzip ./framadate-1.1.19.zip

chown -R www-data: /home/framadate/framadate
sudo -u www-data htpasswd -bc /home/framadate/framadate/admin/.htpasswd admin 'admin_password'
#+END_SRC

* Références
 * [[https://framagit.org/framasoft/framadate/framadate/-/wikis/home][Framadate · GitLab]]

