Skip to content

Commit

Permalink
Fix codespace issue (#46)
Browse files Browse the repository at this point in the history
* Move .devcontainer.json to its own dir

* Use setup script in devcontainer codespaces

* Update docs
  • Loading branch information
Kostis-S-Z authored Dec 9, 2024
1 parent 1752e2e commit db27ce1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"version": "latest"
}
},
"postCreateCommand": "pip install -e . --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu"
"postCreateCommand": "bash .github/setup.sh"
}
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,7 @@ The fastest way to get started. Click the button below to launch the project dir

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=888426876&skip_quickstart=true&machine=standardLinux32gb)

Once the Codespaces environment launches, follow these steps:

1. **Install Dependencies**
Inside the Codespaces terminal, run:
```bash
bash .github/setup.sh
2. **Run the Demo**
Inside the Codespaces terminal, start the Streamlit demo by running:
Once the Codespaces environment launches, inside the terminal, start the Streamlit demo by running:
```bash
python -m streamlit run demo/app.py
```
Expand Down
12 changes: 1 addition & 11 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,7 @@ The fastest way to get started. Click the button below to launch the project dir

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=888426876&skip_quickstart=true&machine=standardLinux32gb)

Once the Codespaces environment launches, follow these steps:

1. **Install Dependencies**

Inside the Codespaces terminal, run:
```bash
bash .github/setup.sh
```
2. **Run the Demo**

Inside the Codespaces terminal, start the Streamlit demo by running:
Once the Codespaces environment launches, inside the terminal, start the Streamlit demo by running:
```bash
python -m streamlit run demo/app.py
```
Expand Down

0 comments on commit db27ce1

Please sign in to comment.