You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
500 B
Makefile

setup:
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
mkdir -p data/uploads
shell:
bash manage.sh shell
init:
mkdir -p data
.venv/bin/alembic upgrade head
dev:
bash manage.sh run
prod:
bash manage.sh prod
install-ipfs:
wget https://dist.ipfs.io/go-ipfs/v0.10.0/go-ipfs_v0.10.0_linux-amd64.tar.gz
tar -xvzf go-ipfs_v0.10.0_linux-amd64.tar.gz
cd go-ipfs && bash install.sh
run-ipfs:
ipfs daemon
sync-remotes:
./manage.sh sync-remotes
kill:
pkill -e -f tubbymemes