# Docker Development
-## Running
+## Dependencies (on Ubuntu)
```bash
sudo apt install git docker-compose
+sudo systemctl start docker
git clone https://github.com/LemmyNet/lemmy
+```
+
+## Running
+
+```bash
cd lemmy/docker/dev
sudo docker-compose up --no-deps --build
```
# Federation Development
-## Setup
-
-If you don't have a local clone of the Lemmy repo yet, just run the following command:
-
-```bash
-git clone https://github.com/LemmyNet/lemmy
-```
-
## Running locally
-You need to have the following packages installed, the Docker service needs to be running.
-
-- docker
-- docker-compose
+Install the dependencies as described in [Docker development](contributing_docker_development.md). Then run the following
-Then run the following
```bash
cd docker/federation
./start-local-instances.bash
Firefox containers are a good way to test them interacting.
-## Integration tests
-
-To run a suite of suite of federation integration tests:
-
-```bash
-cd docker/federation
-./run-tests.bash
-```
-
## Running on a server
Note that federation is currently in alpha. **Only use it for testing**, not on any production server, and be aware that turning on federation may break your instance.
### Federation
-Install the [Docker development dependencies](contributing_docker_development.md), and execute
-`docker/federation-test/run-tests.sh`
+Install the [Docker development dependencies](contributing_docker_development.md), and execute:
+
+```
+cd docker/federation
+./run-tests.bash
+```