mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 19:31:05 +00:00
dbf231865d
* Adding a few more apub tests. * Fixing travis build, adding a get_post function.
20 lines
493 B
Bash
Executable file
Vendored
20 lines
493 B
Bash
Executable file
Vendored
#!/bin/bash
|
|
set -e
|
|
|
|
sudo docker-compose --file ../federation/docker-compose.yml --project-directory . down
|
|
sudo rm -rf volumes
|
|
|
|
pushd ../../server/
|
|
cargo build
|
|
popd
|
|
|
|
pushd ../../ui
|
|
yarn
|
|
popd
|
|
|
|
mkdir -p volumes/pictrs_{alpha,beta,gamma,delta,epsilon}
|
|
sudo chown -R 991:991 volumes/pictrs_{alpha,beta,gamma,delta,epsilon}
|
|
|
|
sudo docker build ../../ --file ../federation/Dockerfile --tag lemmy-federation:latest
|
|
|
|
sudo docker-compose --file ../federation/docker-compose.yml --project-directory . up
|