mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-17 01:44:00 +00:00
035921d568
- Added a shared inbox. - Added federated comments, comment updates, and tests. - Abstracted ap object sends into a common trait.
22 lines
652 B
Bash
Executable file
Vendored
22 lines
652 B
Bash
Executable file
Vendored
#!/bin/bash
|
|
set -e
|
|
|
|
pushd ../../server/
|
|
cargo build
|
|
popd
|
|
|
|
sudo docker build ../../ --file ../federation/Dockerfile --tag lemmy-federation:latest
|
|
|
|
sudo docker-compose --file ../federation/docker-compose.yml --project-directory . up -d
|
|
|
|
pushd ../../ui
|
|
yarn
|
|
echo "Waiting for Lemmy to start..."
|
|
while [[ "$(curl -s -o /dev/null -w '%{http_code}' 'localhost:8540/api/v1/site')" != "200" ]]; do sleep 1; done
|
|
while [[ "$(curl -s -o /dev/null -w '%{http_code}' 'localhost:8550/api/v1/site')" != "200" ]]; do sleep 1; done
|
|
yarn api-test || true
|
|
popd
|
|
|
|
sudo docker-compose --file ../federation/docker-compose.yml --project-directory . down
|
|
|
|
sudo rm -r volumes/
|