mirror of
https://github.com/friendica/friendica
synced 2024-11-09 16:22:56 +00:00
dd1835d15d
- run provisioning script as root - don't load friendica_test_data.sql which is outdated - install friendica and create users via console commands - install cronjob in `/etc/cron.d/friendica` and run as `www-data` user - force to have "vagrant-vbguest" insstalled. We need updated vbguest addins to correctly mount local folder - add "config.hostname" and "system.ssl_policy" values in `local.config.vagrant.php`
44 lines
1.3 KiB
PHP
44 lines
1.3 KiB
PHP
<?php
|
|
|
|
// Local configuration
|
|
|
|
/* If automatic system installation fails:
|
|
*
|
|
* Copy this file to local.config.php
|
|
*
|
|
* Why local.config.php? Because it contains sensitive information which could
|
|
* give somebody complete control of your database. Apache's default
|
|
* configuration will interpret any .php file as a script and won't show the values
|
|
*
|
|
* Then set the following for your MySQL installation
|
|
*/
|
|
|
|
return [
|
|
'database' => [
|
|
'hostname' => 'localhost',
|
|
'username' => 'friendica',
|
|
'password' => 'friendica',
|
|
'database' => 'friendica',
|
|
'charset' => 'utf8mb4',
|
|
],
|
|
|
|
// ****************************************************************
|
|
// The configuration below will be overruled by the admin panel.
|
|
// Changes made below will only have an effect if the database does
|
|
// not contain any configuration for the friendica system.
|
|
// ****************************************************************
|
|
|
|
'config' => [
|
|
'hostname' => 'friendica.local',
|
|
'admin_email' => 'admin@friendica.local',
|
|
'sitename' => 'Friendica Social Network',
|
|
'register_policy' => \Friendica\Module\Register::OPEN,
|
|
'register_text' => '',
|
|
],
|
|
'system' => [
|
|
'default_timezone' => 'UTC',
|
|
'language' => 'en',
|
|
'basepath' => '/vagrant',
|
|
'ssl_policy' => \Friendica\App\BaseURL::SSL_POLICY_SELFSIGN,
|
|
],
|
|
];
|