Add Framadate and mastodon notes

This commit is contained in:
2022-12-29 10:39:32 +01:00
parent e8c7b3d1e7
commit d410b35b37
3 changed files with 130 additions and 1 deletions

View File

@@ -0,0 +1,37 @@
: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]]