This repository was archived by the owner on May 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.codenvy.json
More file actions
91 lines (91 loc) · 2.07 KB
/
.codenvy.json
File metadata and controls
91 lines (91 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"v": "4.0",
"workspace": {
"defaultEnv": "ubuntu_python2.7",
"environments": [
{
"name": "ubuntu_python2.7",
"machineConfigs": [
{
"limits": {
"ram": 2000
},
"name": "ws-machine",
"type": "docker",
"source": {
"location": "http://beta.codenvy.com/api/recipe/recipejrihnjqeoxyjd88p/script",
"type": "dockerfile"
},
"dev": true,
"servers": [],
"envVariables": {},
"links": []
}
]
}
],
"projects": [
{
"links": [],
"name": "web-python2.7-simple",
"attributes": {
"vcs.provider.name": [
"git"
],
"git.current.branch.name": [
"master"
],
"contribute_to_branch": [
"master"
],
"git.repository.remotes": [
"https://github.com/che-samples/web-python2.7-simple.git"
]
},
"type": "blank",
"source": {
"location": "https://github.com/che-samples/web-python2.7-simple.git",
"type": "git",
"parameters": {}
},
"path": "/web-python2.7-simple",
"problems": [],
"mixins": [
"pullrequest",
"git"
]
}
],
"name": "ubuntu_python2.7",
"commands": [
{
"commandLine": "cd ${current.project.path} && sudo virtualenv /env && sudo pip install -r requirements.txt && python main.py",
"name": "run",
"attributes": {
"previewUrl": "http://${server.port.8080}"
},
"type": "custom"
}
],
"links": []
},
"ide": {
"onProjectsLoaded": {
"actions": [
{
"properties": {
"name": "run"
},
"id": "runCommand"
},
{
"properties": {
"file": "/web-python2.7-simple/main.py"
},
"id": "openFile"
}
]
}
},
"name": "Python2.7"
}