-
Notifications
You must be signed in to change notification settings - Fork 5
Remove Turkish comments and localize theme labels to English #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ArjinAlbay
merged 4 commits into
HappyHackingSpace:main
from
HazarBakir:themeprovider-language
Oct 27, 2025
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
182fcbb
Add Makefile, Docker, and update GitHub API client
HazarBakir 7c9cbe3
Merge branch 'main' of https://github.com/HazarBakir/githubmon
HazarBakir ba18c47
Merge branch 'main' into fix-conflict
HazarBakir 966a7a6
Remove Turkish comments and localize theme labels to English
HazarBakir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "makefile.configureOnOpen": true | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,106 @@ | ||
| .PHONY: help setup env docker-dev docker-dev-build docker-dev-logs docker-dev-down docker-prod docker-up docker-down docker-logs docker-restart clean-docker | ||
|
|
||
| # Variables | ||
| DOCKER_COMPOSE = docker compose | ||
| DOCKER_COMPOSE_DEV = docker compose -f docker-compose.dev.yml | ||
|
|
||
| # Default target | ||
| help: | ||
| @echo "GitHubMon - Makefile Commands" | ||
| @echo "" | ||
| @echo "Environment Setup:" | ||
| @echo " make setup - Complete Docker setup (env + build)" | ||
| @echo " make env - Create .env.local from .env.example" | ||
| @echo "" | ||
| @echo "Docker - Development:" | ||
| @echo " make docker-dev - Start development container" | ||
| @echo " make docker-dev-build - Build and start dev container" | ||
| @echo " make docker-dev-logs - Show dev container logs" | ||
| @echo " make docker-dev-down - Stop dev container" | ||
| @echo "" | ||
| @echo "Docker - Production:" | ||
| @echo " make docker-prod - Build and start production containers" | ||
| @echo " make docker-up - Start production containers (no build)" | ||
| @echo " make docker-down - Stop all containers" | ||
| @echo " make docker-logs - Show production logs" | ||
| @echo " make docker-restart - Restart production containers" | ||
| @echo "" | ||
| @echo "Cleanup:" | ||
| @echo " make clean-docker - Remove all containers and volumes" | ||
| @echo "" | ||
| @echo "For development commands, use npm directly:" | ||
| @echo " npm install - Install dependencies" | ||
| @echo " npm run dev - Start development server" | ||
| @echo " npm run build - Build for production" | ||
| @echo " npm run lint - Run ESLint" | ||
| @echo " npm run format - Format code with Prettier" | ||
|
|
||
| # Environment Setup | ||
| setup: env | ||
| @echo "🔧 Setting up Docker environment..." | ||
| @echo "✅ Setup complete! Edit .env.local with your credentials" | ||
| @echo "Then run: make docker-dev" | ||
|
|
||
| env: | ||
| @if [ ! -f .env.local ]; then \ | ||
| cp .env.example .env.local; \ | ||
| echo "✅ Created .env.local - Please edit it with your credentials"; \ | ||
| else \ | ||
| echo "⚠️ .env.local already exists"; \ | ||
| fi | ||
|
|
||
| # Docker - Development | ||
| docker-dev: | ||
| @echo "🐳 Starting development container..." | ||
| $(DOCKER_COMPOSE_DEV) up | ||
|
|
||
| docker-dev-build: | ||
| @echo "🐳 Building and starting development container..." | ||
| $(DOCKER_COMPOSE_DEV) up --build | ||
|
|
||
| docker-dev-logs: | ||
| @echo "📋 Showing development container logs..." | ||
| $(DOCKER_COMPOSE_DEV) logs -f | ||
|
|
||
| docker-dev-down: | ||
| @echo "🛑 Stopping development container..." | ||
| $(DOCKER_COMPOSE_DEV) down | ||
|
|
||
| # Docker - Production | ||
| docker-prod: | ||
| @echo "🐳 Building and starting production containers..." | ||
| $(DOCKER_COMPOSE) up --build -d | ||
| @echo "✅ Production containers started. Visit http://localhost:3000" | ||
|
|
||
| docker-up: | ||
| @echo "🐳 Starting production containers..." | ||
| $(DOCKER_COMPOSE) up -d | ||
|
|
||
| docker-down: | ||
| @echo "🛑 Stopping all containers..." | ||
| $(DOCKER_COMPOSE) down | ||
| $(DOCKER_COMPOSE_DEV) down | ||
|
|
||
| docker-logs: | ||
| @echo "📋 Showing production logs..." | ||
| $(DOCKER_COMPOSE) logs -f | ||
|
|
||
| docker-restart: | ||
| @echo "🔄 Restarting production containers..." | ||
| $(DOCKER_COMPOSE) restart | ||
|
|
||
| # Cleanup | ||
| clean-docker: | ||
| @echo "🧹 Removing all containers and volumes..." | ||
| $(DOCKER_COMPOSE) down -v | ||
| $(DOCKER_COMPOSE_DEV) down -v | ||
| docker system prune -f | ||
| @echo "✅ Docker cleanup complete" | ||
|
|
||
| # Quick aliases | ||
| dev: docker-dev | ||
| prod: docker-prod | ||
| up: docker-up | ||
| down: docker-down | ||
| logs: docker-logs | ||
| restart: docker-restart | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add quick aliases to
.PHONYdeclaration.The quick alias targets (
dev,prod,up,down,logs,restart) on lines 101–106 are not declared in the.PHONYdeclaration on line 1. Without this,makewill treat them as file targets, potentially causing issues if files with these names exist.Apply this diff to add the aliases to the
.PHONYdeclaration:Also applies to: 101-106
🧰 Tools
🪛 checkmake (0.2.2)
[warning] 1-1: Missing required phony target "all"
(minphony)
[warning] 1-1: Missing required phony target "clean"
(minphony)
[warning] 1-1: Missing required phony target "test"
(minphony)
🤖 Prompt for AI Agents