This is a fork of Hometown which is a fork of Mastodon.
This repo is not intended to be used by others as it contains specific changes to our instance. We try to contribute back to the upstream projects whenever we can.
Queer Haus comes with a preconfigured local environment using docker.
-
Install make
Mac:brew install make
Ubuntu:sudo apt install make
Windows: https://stackoverflow.com/questions/32127524/how-to-install-and-use-make-in-windows -
Install Docker
Ubuntu: https://docs.docker.com/engine/install/ubuntu/
Mac/Windows: https://www.docker.com/products/docker-desktop -
Make sure that docker is correctly set up in your environment. This command should print an empty list of containers that are running:
$ docker ps
If that command gives you an error, resolve that using standard Docker guides before continuing. The command should not require sudo, if it does, your setup is not working correctly.
-
Initialize the project and start the containers
$ make up
The first time this build can take up to 30 minutes depending on your machine. Wait until all services has started and webpack says it has compiled all resources. -
Then you can access Queer Haus on http://localhost:3000
-
Press CTRL-C to stop the services.
-
To start it again next time, run the same command. Dependencies are updated and containers rebuilt as needed.
$ make up
-
Want to start over with a clean dev environment? Run 'clean' to stop everything and delete all databases.
$ make clean
Copyright (C) 2016-2021 Eugen Rochko & other Mastodon contributors (see AUTHORS.md)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.