first commit

This commit is contained in:
Louis-Sinan
2025-12-21 12:22:16 +01:00
commit c9daaddb77
34 changed files with 1735 additions and 0 deletions

32
Makefile Normal file
View File

@@ -0,0 +1,32 @@
# Variables
IMAGE_NAME=meteora-dlmm-bot
.PHONY: build test lint docker-build docker-test docker-lint docker-run clean install
install:
npm install
lint-fix:
npm run lint:fix
build:
docker build -t meteora-dlmm-bot .
test: build
docker run --rm meteora-dlmm-bot npm run test
lint: build
docker run --rm meteora-dlmm-bot npm run lint
run: build
docker run --rm --name meteora-dlmm-bot --env-file .env meteora-dlmm-bot
stop:
docker stop meteora-dlmm-bot || true
docker rm meteora-dlmm-bot || true
withdraw: build
docker run --rm --name meteora-dlmm-bot-withdraw --env-file .env meteora-dlmm-bot npm run withdraw:prod
clean:
rm -rf dist coverage