-
Notifications
You must be signed in to change notification settings - Fork 88
/
freesound.code-workspace
124 lines (123 loc) · 3.07 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"folders": [
{
"path": "."
},
{
"path": "../freesound-deploy"
},
{
"path": "../freesound-audio-analyzers"
},
{
"path": "freesound-data"
}
],
"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": "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 --force",
"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": "Run tests verbose with warnings",
"type": "shell",
"command": "docker compose run --rm web python -Wa manage.py test -v3 --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": []
},
{
"label": "Shell plus",
"type": "shell",
"command": "docker compose run --rm web python manage.py shell_plus",
"problemMatcher": []
},
{
"label": "Reindex search engine",
"type": "shell",
"command": "docker compose run --rm web python manage.py reindex_search_engine_sounds && docker compose run --rm web python manage.py reindex_search_engine_forum",
"problemMatcher": []
},
{
"label": "Post dirty sounds to search engine",
"type": "shell",
"command": "docker compose run --rm web python manage.py post_dirty_sounds_to_search_engine",
"problemMatcher": []
},
{
"label": "Orchestrate analysis",
"type": "shell",
"command": "docker compose run --rm web python manage.py orchestrate_analysis",
"problemMatcher": []
}
]
},
"settings": {
"python.defaultInterpreterPath": ".venv/bin/python",
"files.associations": {
"*.html": "django-html"
}
}
}