-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.runcode.yaml
More file actions
15 lines (14 loc) · 881 Bytes
/
.runcode.yaml
File metadata and controls
15 lines (14 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
onCreate:
- |
printf "\nWelcome to RunCode."
printf "\n\nThis is a blank workspace with vscode web."
printf "\n\nYou may change this content and automate as per your requirement"
onStart:
- |
printf "\n\nThe .runcode.yaml file will automate installations and configurations."
printf "\n\nIt is having two parts, onCreate and onStart."
printf "\n\nnonCreate part will be executed first time when the workspace is launched."
printf "\n\nonStart part will be executed every time when the workspace is launched."
printf "\n\nFor Example: If you are developing a web application and want to see the output of the application running on local port 8000"
WS_DOMAIN=`cat /home/ubuntu/runcode/ws-url-domain.txt`
printf "\n\nnGO TO THIS URL TO VIEW PAGE \033[4;34m https://8000-${WS_DOMAIN}\033[0;30m\n\n"