Skip to content

Commit

Permalink
Merge pull request #83 from opsmill/pmc-fun
Browse files Browse the repository at this point in the history
updates
  • Loading branch information
BeArchiTek authored Oct 1, 2024
2 parents e2b2809 + 88ff617 commit 48c9f0e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,19 @@ Currently, Emma can help you to:

- Import CSV Data into Infrahub
- Export Data from Infrahub in CSV format
- Build, Load, and Visualize Infrahub schema
- Build, Load, and Visualize the Infrahub schema

![Home page](static/home_page.png)

## Quick Start
## Getting Started

### curl quickstart

```bash
curl https://infrahub.opsmill.io/0.16.0-emma | docker compose -f - up -d
```

Then connect to the WebUI of [Infrahub](http://localhost:8000) and [Emma](http://localhost:8501)

### Running Locally with Poetry

Expand All @@ -25,7 +33,7 @@ To run Emma locally using Poetry, follow these steps:
2. **Run the Application:**

```console
streamlit run main.py
poetry run streamlit run main.py
```

3. **Set Environment Variables:**
Expand All @@ -44,7 +52,7 @@ To run Emma using Docker Compose, follow these steps:
1. **Build and Run the Application:**

```console
docker-compose up --build
docker compose up --build &
```

2. **Connecting to Infrahub Network:**
Expand Down
2 changes: 1 addition & 1 deletion emma/streamlit_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


def set_page_config(title: str | None = None, wide: bool | None = True):
icon = "static/emma-assist-character.png"
icon = "static/emma.png"
if wide:
st.set_page_config(page_title=title, page_icon=icon, layout="wide")
else:
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
left, right = st.columns([1, 1.6], gap="medium", vertical_alignment="center")

# Left is for Emma avatar
left.image(image="static/emma-assist-character.png", caption="Hello, I'm Emma")
left.image(image="static/emma.png", caption="Hello, I'm Emma")

# Right is for the text
with right:
Expand Down
Binary file added static/emma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 48c9f0e

Please # to comment.