-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrun-dev.sh
More file actions
executable file
·33 lines (29 loc) · 1019 Bytes
/
run-dev.sh
File metadata and controls
executable file
·33 lines (29 loc) · 1019 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
#
# Copyright (c) 2026 Metaform Systems, Inc.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
#
# Contributors:
# Metaform Systems, Inc. - initial API and implementation
#
#
# Quick start script for development mode with H2 database
# This will run the application without requiring PostgreSQL or Keycloak
echo "Starting Redline in development mode..."
echo "Using H2 in-memory database"
echo "Server will start on http://localhost:8081"
echo ""
echo "Public endpoints (no auth required):"
echo " - http://localhost:8081/api/ui"
echo " - http://localhost:8081/api/public/health"
echo " - http://localhost:8081/api/public/info"
echo " - http://localhost:8081/h2-console"
echo ""
echo "Note: Protected endpoints require Keycloak authentication"
echo ""
./gradlew bootRun --args='--spring.profiles.active=dev'