Skip to content

Instantly share code, notes, and snippets.

@ctalladen78
Created June 29, 2025 18:11
Show Gist options
  • Save ctalladen78/48878b45b7d42331fdfde34dd3defb9b to your computer and use it in GitHub Desktop.
Save ctalladen78/48878b45b7d42331fdfde34dd3defb9b to your computer and use it in GitHub Desktop.

ensure ollama installed

# Makefile for javascript react nextjs project

.PHONY: all install run dev test clean

all: install run

install:
	npm install

run:
	npm run app.js --server.port 3000

dev:
	npm run app.js --server.port 3000

test:
	npm run test

clean:
	rm -rf app/src

ollama:
	export OLLAMA_API_BASE=http://127.0.0.1:11434

aider_local:
	aider --model ollama/deepseek-coder --llm-history-file .aider.session.md 

aider_gemini:
	aider --model gemini/deepseek-r1 --cache-prompts --no-stream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment