From d841257f0264064c2441b272f9d524071e34d363 Mon Sep 17 00:00:00 2001 From: goro Date: Sat, 21 Mar 2026 11:26:27 +0200 Subject: [PATCH 1/2] add dev --- .gitmodules | 2 ++ hiling_go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 02df52d..ee5ae25 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,11 @@ [submodule "hiling_go"] path = hiling_go url = https://git.nochill.in/nochill/hiling_go.git + branch = dev [submodule "hiling-opengraph"] path = hiling-opengraph url = https://git.nochill.in/nochill/hiling-opengraph.git [submodule "hilingriviw"] path = hilingriviw url = https://git.nochill.in/nochill/hilingriviw.git + branch = dev diff --git a/hiling_go b/hiling_go index 2c420a7..6e2b70c 160000 --- a/hiling_go +++ b/hiling_go @@ -1 +1 @@ -Subproject commit 2c420a7d4f0dc94552502b825177a3386f104698 +Subproject commit 6e2b70c398ae59dd223152d31aa9dfe209f3d895 -- 2.45.2 From 5d454471fcc5536cf5223f5a22b7f16403212c4b Mon Sep 17 00:00:00 2001 From: goro Date: Sat, 18 Apr 2026 12:17:47 +0300 Subject: [PATCH 2/2] updated --- hiling-opengraph | 2 +- hiling_go | 2 +- hilingriviw | 2 +- run-dev.sh | 27 ++++++--------------------- 4 files changed, 9 insertions(+), 24 deletions(-) diff --git a/hiling-opengraph b/hiling-opengraph index 1c2e578..8457292 160000 --- a/hiling-opengraph +++ b/hiling-opengraph @@ -1 +1 @@ -Subproject commit 1c2e578a8c07a0ad1fbf1d4cfca860ccdd6560c7 +Subproject commit 845729228d988f6a6dca42f6ee57c3913ce3c82c diff --git a/hiling_go b/hiling_go index 6e2b70c..771eb60 160000 --- a/hiling_go +++ b/hiling_go @@ -1 +1 @@ -Subproject commit 6e2b70c398ae59dd223152d31aa9dfe209f3d895 +Subproject commit 771eb60ea444949139431bfc1408efa9a1bf518b diff --git a/hilingriviw b/hilingriviw index 656a6e0..b59c7ce 160000 --- a/hilingriviw +++ b/hilingriviw @@ -1 +1 @@ -Subproject commit 656a6e08da61b36b7ce4f50cf7f5fd568fa070bd +Subproject commit b59c7cef9bf20dae1857ef61a3e6c220f94dda76 diff --git a/run-dev.sh b/run-dev.sh index 57046c3..076b257 100755 --- a/run-dev.sh +++ b/run-dev.sh @@ -1,16 +1,13 @@ #!/bin/bash -# Script to run all development servers concurrently -# Colors for output RED='\033[0;31m' GREEN='\033[0;32m' YELLOW='\033[1;33m' BLUE='\033[0;34m' MAGENTA='\033[0;35m' CYAN='\033[0;36m' -NC='\033[0m' # No Color +NC='\033[0m' -# Function to cleanup processes on exit cleanup() { echo -e "\n${YELLOW}Shutting down all services...${NC}" kill $(jobs -p) 2>/dev/null @@ -19,10 +16,8 @@ cleanup() { exit 0 } -# Set up trap to cleanup on script exit trap cleanup EXIT INT TERM -# Function to run a service with colored output run_service() { local name=$1 local color=$2 @@ -34,46 +29,36 @@ run_service() { (cd "$dir" && exec $cmd 2>&1 | sed "s/^/[$name] /" | while IFS= read -r line; do echo -e "${color}${line}${NC}"; done) & } -# Check if required tools are installed echo -e "${CYAN}Checking requirements...${NC}" if ! command -v air &> /dev/null; then - echo -e "${RED}Error: 'air' is not installed. Please install it first:${NC}" - echo "go install github.com/air-verse/air@latest" + echo -e "${RED}Error: 'air' is not installed" exit 1 fi if ! command -v pnpm &> /dev/null; then - echo -e "${RED}Error: 'pnpm' is not installed. Please install it first:${NC}" - echo "npm install -g pnpm" + echo -e "${RED}Error: 'pnpm' is not installed}" exit 1 fi if ! command -v deno &> /dev/null; then - echo -e "${RED}Error: 'deno' is not installed. Please install it first:${NC}" - echo "curl -fsSL https://deno.land/x/install/install.sh | sh" + echo -e "${RED}Error: 'deno' is not installed" exit 1 fi echo -e "${GREEN}All requirements satisfied${NC}\n" -# Start all services echo -e "${CYAN}Starting all development servers...${NC}\n" -# Backend with air run_service "Backend" "$GREEN" "hiling_go" air -# Meilisearch run_service "Meilisearch" "$YELLOW" "hiling_go" ./dev-meilisearch.sh -# Frontend with pnpm -run_service "Frontend" "$BLUE" "hilingriviw" pnpm dev +run_service "Frontend" "$BLUE" "hilingriviw" pnpm dev --host -# OpenGraph with deno run_service "OpenGraph" "$MAGENTA" "hiling-opengraph" deno task dev echo -e "\n${CYAN}All services started!${NC}" echo -e "${CYAN}Press Ctrl+C to stop all services${NC}\n" -# Wait for all background processes -wait \ No newline at end of file +wait -- 2.45.2