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.

44 lines
804 B
Makefile

setup:
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
mkdir -p data/uploads
shell:
bash manage.sh shell
init:
.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
install-avax:
wget https://github.com/ava-labs/avalanchego/releases/download/v1.7.3/avalanchego-linux-amd64-v1.7.3.tar.gz
tar -xzvf avalanchego-linux-amd64-v1.7.3.tar.gz
run-ipfs:
ipfs daemon
run-avax:
./avalanchego-v1.7.3/avalanchego
run-avax-test:
./avalanchego-v1.7.3/avalanchego --network-id fuji
sync-avax:
./manage.sh sync-avax
sync-remotes:
./manage.sh sync-remotes
kill:
pkill -e -f suchwowx