Skip to content

Commit

Permalink
added wilco-agent runner (#46)
Browse files Browse the repository at this point in the history
* added wilco-agent runner

* axport engine event endpoint for agent events
  • Loading branch information
NivRichter authored Feb 8, 2024
1 parent 2b7f84b commit e1307bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ curl -L -X POST "${ENGINE_EVENT_ENDPOINT}" -H "Content-Type: application/json" -
echo "export CODESPACE_BACKEND_HOST=\"${CODESPACE_BACKEND_HOST}\"" >> ~/.bashrc
echo "export CODESPACE_BACKEND_URL=\"${CODESPACE_BACKEND_URL}\"" >> ~/.bashrc
echo "export CODESPACE_WDS_SOCKET_PORT=443" >> ~/.bashrc
echo "export ENGINE_EVENT_ENDPOINT=\"${ENGINE_EVENT_ENDPOINT}\"" >> ~/.bashrc


# Export welcome prompt in bash:
echo "printf \"\n\n☁️☁️☁️️ Anythink: Develop in the Cloud ☁️☁️☁️\n\"" >> ~/.bashrc
echo "printf \"\n\x1b[31m \x1b[1m👉 Type: \\\`docker compose up\\\` to run the project. 👈\n\n\"" >> ~/.bashrc

nohup bash -c 'cd /wilco-agent && sudo env PATH=$PATH npm install && node agent.js &' > /dev/null 2>&1

0 comments on commit e1307bc

Please sign in to comment.