Skip to content

Commit

Permalink
Install frontend deps, notify on dev port
Browse files Browse the repository at this point in the history
  • Loading branch information
vanpelt committed Apr 1, 2024
1 parent d16092c commit 4f7a481
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@

"portsAttributes": {
"5173": {
"label": "OpenUI UI Dev Server"
"label": "OpenUI UI Dev Server",
"onAutoForward": "notify"
},
"7878": {
"label": "OpenUI Server",
Expand Down
4 changes: 4 additions & 0 deletions .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ sudo chown -R $USER $HOME/.cache
# Ollama time
curl -fsSL https://ollama.com/install.sh | sh

# Install node packages
cd /workspaces/openui/frontend
pnpm install

# Install python packages
cd /workspaces/openui/backend
pip install -e .[test]
Expand Down

0 comments on commit 4f7a481

Please sign in to comment.