This repository has been archived on 2020-04-21. You can view files and clone it, but cannot push or open issues or pull requests.
lemmy/docker/federation/run-federation-test.bash

16 lines
249 B
Bash
Raw Normal View History

2020-01-02 23:28:43 +00:00
#!/bin/bash
set -e
2020-04-13 13:06:41 +00:00
if [ "$1" = "-yarn" ]; then
pushd ../../ui/ || exit
yarn build
popd || exit
fi
2020-01-02 23:28:43 +00:00
pushd ../../server/ || exit
cargo build
popd || exit
sudo docker build ../../ -f Dockerfile -t lemmy-federation:latest
2020-01-02 23:28:43 +00:00
sudo docker-compose up