Skip to content

Commit

Permalink
fix: correct gitpod install comands for api (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: Anbraten <[email protected]>
  • Loading branch information
aaa006bd and anbraten authored Aug 2, 2023
1 parent f350e40 commit 9dbf1f1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ image: gitpod/workspace-full-vnc:latest

tasks:
- name: Setup
env:
NUXT_TELEMETRY_DISABLED: '0'
before: |
nvm install 20
nvm use 20
Expand All @@ -21,9 +23,11 @@ tasks:
nvm use default
command: |
pnpm start
- name: Run backend
- name: Run API
before: |
gp sync-await setup
pip install -r requirements.txt
command: |
uvicorn pyserver:app --reload --app-dir=ai
Expand All @@ -36,7 +40,7 @@ vscode:

ports:
- name: App
port: 5137
port: 3000
- name: API
port: 8080
port: 8000
onOpen: ignore

0 comments on commit 9dbf1f1

Please sign in to comment.