Vagrant is a virtualization solution for developers. No need to setup up a webserver, database etc. before actually starting. Vagrant creates a virtual machine for you that you can just run inside VirtualBox and start to work directly on Friendica.
It brings up an Debian Bullseye with PHP 8.0, Apache2 and MariaDB.
vagrant up
from inside the friendica clone: $> vagrant up
. Be patient: When it runs for the first time, it downloads an Ubuntu Server imagevagrant ssh
to log into the virtual machine to log in to the VM: $> vagrant ssh
192.168.22.10
(after Friendica 2022.10) 192.168.56.10
1) . The mysql database is called friendica
, the mysql user and password both are friendica
$> vagrant halt
in the development directory. This will not delete the virtual machine.$> vagrant destroy
and $> rm /vagrant/config/local.config.php
to make sure that you can start from scratch with another “vagrant up”.The vagrant Friendica instance contains a test database. You will then have the following accounts to login:
admin
, password: admin
friendica
, password friendica
For further documentation of vagrant, please see the vagrant*docs*.