Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
Closes #61
  • Loading branch information
geir-eilertsen committed Dec 27, 2024
1 parent 0de6fa7 commit dec11da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ To use Marvin, you need to have a running OpenHAB server.

Add the following environment variables

* EXTERNAL_ADDRESS http://localhost:9090
* OPENHAB_URL http://[openhab ip]:[openhab port]
* OPENHAB_USERNAME [myopenhabusername]
* OPENHAB_PASSWORD [myopenhabpassword]
Expand All @@ -32,7 +33,8 @@ Add the following environment variables
* OPENAI_APIKEY (get your own from openai)
* GITHUB_CLIENT_ID (for oauth, get your own from github)
* GITHUB_CLIENT_SECRET (for oauth, get your own from github)

* GOOGLE_CLIENT_ID (for oauth, get your own from google)
* GOOGLE_CLIENT_SECRET (for oauth, get your own from google)

The main module that brings Marvin to life is marvin.interaction.web. It is a Spring Boot application
that contains the application.yml configuration file.
Expand All @@ -48,7 +50,7 @@ You can do this by running the following command:
CREATE KEYSPACE springframework WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
```

When the application has started, open http://localhost:9090 in your browser. You will be redirected to the OAuth2 login page, currently at github.
When the application has started, open http://localhost:9090 in your browser. You will be redirected to the OAuth2 login page.

A person record is then added in the personentry table with relation STRANGER. Change this to FRIEND and refresh the page.

Expand Down

0 comments on commit dec11da

Please sign in to comment.