Habitat is a free and open source self-hosted social platform for local communities
This project is currently in early development. For information on the purpose of Habitat,
read the blog post.
Fork this repository to create your own instance of Habitat. To adhere to the AGPL license, your fork must be a public
repository, so be careful not to ever commit any secrets to your fork.
The packages and setup required for hosting Habitat on a Linux server are in the Ansible playbook.
To run the ansible playbook:
Ansible
directoryvars.yaml.template
to vars.yaml
and amend its contents accordinglyansible-playbook -i "domain-or-ip-address.example.com," -u example-user playbook.yaml --private-key=~/.ssh/example-key
Docker/dev
directory and copy the .env.dist
file to create a new file called .env
docker-compose up
Run any application, symfony and composer commands from within the habitat-apache-php
container:
docker exec -it habitat-apache-php bash
Habitat can be loaded in the web browser from localhost.