notes/work/outline/run.sh

12 lines
270 B
Bash

#! /bin/bash
if [ ! -d ./outline ]; then
git clone https://github.com/outline/outline.git
fi
cd ./outline
cp .env.sample .env
echo "SECRET_KEY=$(openssl rand -hex 32)" >> .env
echo "UTILS_SECRET=$(openssl rand -hex 32)" >> .env
docker rm -f $(docker ps -aq)
make up