-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add README and update .env example (#78)
- Loading branch information
1 parent
4edb0c0
commit 693650d
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
ARDUINO_CLI_PATH=/path/to/arduino-cli | ||
groq_api_key=gsk_blablabla |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Leaphy webbased backend | ||
|
||
## Running | ||
Make a copy of `.env.example` named `.env`. | ||
Fill in the path to `arduino-cli` and request an API key at https://console.groq.com/keys . | ||
|
||
Install `requirements.txt` and run with: | ||
```bash | ||
python -m uvicorn --host 0.0.0.0 --port 5000 main:app | ||
``` |