Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoApp committed May 2, 2024
1 parent 7feeee6 commit 99d6b7f
Show file tree
Hide file tree
Showing 43 changed files with 2 additions and 7,038 deletions.
4 changes: 0 additions & 4 deletions .devcontainer/devcontainer.json

This file was deleted.

6 changes: 2 additions & 4 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
WILCO_ID="`cat .wilco`"
ENGINE_EVENT_ENDPOINT="${ENGINE_BASE_URL}/users/${WILCO_ID}/event"
CODESPACE_BACKEND_HOST=$(curl -s "${ENGINE_BASE_URL}/api/v1/codespace/backendHost?codespaceName=${CODESPACE_NAME}&portForwarding=${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN}" | jq -r '.codespaceBackendHost')
CODESPACE_BACKEND_URL="https://${CODESPACE_BACKEND_HOST}"
export ENGINE_EVENT_ENDPOINT="${ENGINE_BASE_URL}/users/${WILCO_ID}/event"

# Update engine that codespace started for user
curl -L -X POST "${ENGINE_EVENT_ENDPOINT}" -H "Content-Type: application/json" --data-raw "{ \"event\": \"github_codespace_started\" }"
Expand All @@ -10,11 +10,9 @@ 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 && node agent.js &' > /dev/null 2>&1
nohup bash -c "cd /wilco-agent && node agent.js &" >> /tmp/agent.log 2>&1
34 changes: 0 additions & 34 deletions .github/workflows/wilco-actions.yml

This file was deleted.

37 changes: 0 additions & 37 deletions backend/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion backend/Dockerfile

This file was deleted.

10 changes: 0 additions & 10 deletions backend/Dockerfile.aws

This file was deleted.

22 changes: 0 additions & 22 deletions backend/README.md

This file was deleted.

89 changes: 0 additions & 89 deletions backend/app.js

This file was deleted.

3 changes: 0 additions & 3 deletions backend/config/index.js

This file was deleted.

18 changes: 0 additions & 18 deletions backend/config/passport.js

This file was deleted.

25 changes: 0 additions & 25 deletions backend/lib/event.js

This file was deleted.

22 changes: 0 additions & 22 deletions backend/models/Comment.js

This file was deleted.

62 changes: 0 additions & 62 deletions backend/models/Item.js

This file was deleted.

Loading

0 comments on commit 99d6b7f

Please sign in to comment.