Mudanças entre as edições de "Framadate"
De MochilaWiki
Ir para navegaçãoIr para pesquisarLinha 1: | Linha 1: | ||
− | + | <source lang="bash"> | |
apt install apache2 php libapache2-mod-php php-intl php-mbstring mysql-server php-mysql git-core unzip composer phpunit | apt install apache2 php libapache2-mod-php php-intl php-mbstring mysql-server php-mysql git-core unzip composer phpunit | ||
+ | </source> | ||
− | + | <source lang="mysql"> | |
− | |||
− | |||
CREATE DATABASE IF NOT EXISTS `framadate` DEFAULT CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci; | CREATE DATABASE IF NOT EXISTS `framadate` DEFAULT CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci; | ||
CREATE USER 'framadate'@'localhost' IDENTIFIED BY 'useastrongpassword'; | CREATE USER 'framadate'@'localhost' IDENTIFIED BY 'useastrongpassword'; | ||
GRANT ALL PRIVILEGES ON `framadate`.* TO 'framadate'@'localhost'; | GRANT ALL PRIVILEGES ON `framadate`.* TO 'framadate'@'localhost'; | ||
− | + | </source> | |
<source lang="bash"> | <source lang="bash"> |
Edição das 20h04min de 5 de julho de 2019
apt install apache2 php libapache2-mod-php php-intl php-mbstring mysql-server php-mysql git-core unzip composer phpunit
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';
cd /var/www/html
git clone https://framagit.org/framasoft/framadate/framadate.git
cd framadate/
composer install
touch admin/stdout.log
chmod 600 admin/stdout.log
chown -R www-data: ../framadate/
Referências