forked from MTG/freesound
-
Notifications
You must be signed in to change notification settings - Fork 0
/
freesound.code-workspace
93 lines (93 loc) · 2.11 KB
/
freesound.code-workspace
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
92
93
{
"folders": [
{
"path": "."
},
{
"path": "../freesound-deploy"
},
{
"path": "../freesound-audio-analyzers"
}
],
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "python",
"request": "attach",
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "/code"
}
],
"port": 3000,
"host": "127.0.0.1",
}
]
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "Run web and search",
"type": "shell",
"command": "docker-compose up web search",
"problemMatcher": []
},
{
"label": "Docker compose build",
"type": "shell",
"command": "docker-compose build",
"problemMatcher": []
},
{
"label": "Build static",
"type": "shell",
"command": "docker-compose run --rm web npm run build && docker-compose run --rm web python manage.py collectstatic --clear --noinput",
"problemMatcher": []
},
{
"label": "Install static",
"type": "shell",
"command": "docker-compose run --rm web npm install",
"problemMatcher": []
},
{
"label": "Clear caches",
"type": "shell",
"command": "rm freesound-data/_cache/*",
"problemMatcher": []
},
{
"label": "Create caches",
"type": "shell",
"command": "docker-compose run --rm web python manage.py create_front_page_caches && docker-compose run --rm web python manage.py create_random_sounds && docker-compose run --rm web python manage.py generate_geotags_bytearray",
"problemMatcher": []
},
{
"label": "Run tests",
"type": "shell",
"command": "docker-compose run --rm web python manage.py test --settings=freesound.test_settings",
"problemMatcher": []
},
{
"label": "Migrate",
"type": "shell",
"command": "docker-compose run --rm web python manage.py migrate",
"problemMatcher": []
},
{
"label": "Make migrations",
"type": "shell",
"command": "docker-compose run --rm web python manage.py makemigrations",
"problemMatcher": []
}
]
},
"settings": {
"python.defaultInterpreterPath": ".venv/bin/python"
}
}