Skip to content

Commit cb899db

Browse files
committed
Fix OS/X startup
1 parent 796f0d3 commit cb899db

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ Illustrates:
3434
Run the shell script to start Embabel under Spring Shell:
3535

3636
```bash
37-
/scripts/shell.sh
37+
cd scripts
38+
./shell.sh
3839
```
3940

4041
There is a single example agent, `WriteAndReviewAgent`.

scripts/shell.sh

100644100755
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/usr/bin/env bash
22

33
export AGENT_APPLICATION=..
4-
export SPRING_PROFILES_ACTIVE=shell,severance
54

6-
./support/agent.sh
5+
#export MAVE_PROFILE=enable-mcp
6+
7+
./support/check_env.sh
8+
9+
cd ..
10+
mvn -Dmaven.test.skip=true spring-boot:run

src/main/java/com/embabel/template/ProjectNameApplication.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
*/
1616
package com.embabel.template;
1717

18-
import org.springframework.boot.SpringApplication;
19-
import org.springframework.boot.autoconfigure.SpringBootApplication;
2018
import com.embabel.agent.config.annotation.EnableAgentShell;
2119
import com.embabel.agent.config.annotation.LoggingTheme;
20+
import org.springframework.boot.SpringApplication;
21+
import org.springframework.boot.autoconfigure.SpringBootApplication;
2222

2323

2424
@SpringBootApplication
25-
@EnableAgentShell(loggingTheme=LoggingTheme.STARWARS)
25+
@EnableAgentShell(loggingTheme = LoggingTheme.STAR_WARS)
2626
class ProjectNameApplication {
2727
public static void main(String[] args) {
2828
SpringApplication.run(ProjectNameApplication.class, args);

0 commit comments

Comments
 (0)