new flashcards
All checks were successful
Mindforge API Build and Deploy / Build Mindforge API Image (push) Successful in 4m4s
Mindforge Web Build and Deploy (internal) / Build Mindforge Web Image (push) Successful in 5m29s
Mindforge Web Build and Deploy (internal) / Deploy Mindforge Web (internal) (push) Successful in 9s
Mindforge API Build and Deploy / Deploy Mindforge API (internal) (push) Successful in 8s
All checks were successful
Mindforge API Build and Deploy / Build Mindforge API Image (push) Successful in 4m4s
Mindforge Web Build and Deploy (internal) / Build Mindforge Web Image (push) Successful in 5m29s
Mindforge Web Build and Deploy (internal) / Deploy Mindforge Web (internal) (push) Successful in 9s
Mindforge API Build and Deploy / Deploy Mindforge API (internal) (push) Successful in 8s
This commit is contained in:
19
dev.sh
Normal file
19
dev.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Function to handle script termination
|
||||
cleanup() {
|
||||
echo "Shutting down..."
|
||||
kill $(jobs -p)
|
||||
exit
|
||||
}
|
||||
|
||||
trap cleanup SIGINT SIGTERM
|
||||
|
||||
echo "Starting Mindforge.API..."
|
||||
(cd Mindforge.API && dotnet run) &
|
||||
|
||||
echo "Starting Mindforge.Web..."
|
||||
(cd Mindforge.Web && npm run dev) &
|
||||
|
||||
echo "Both projects are running. Press Ctrl+C to stop both."
|
||||
wait
|
||||
Reference in New Issue
Block a user