-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
176 lines (157 loc) · 5.43 KB
/
Makefile
File metadata and controls
176 lines (157 loc) · 5.43 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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
deploy_ai:
appwrite functions create-deployment \
--function-id=65bed72070bb85067dd9 \
--entrypoint='summarize.py' \
--commands='pip install -r requirements.txt' \
--code="./functions/summarize_article" \
--activate=true
create_ai:
appwrite functions create \
--function-id=65bed72070bb85067dd9 \
--name="summarize_article" \
--runtime=python-3.9 \
--commands='pip install -r requirements.txt' \
--provider-root-directory="./functions/summarize_article" \
--entrypoint='summarize.py' \
--timeout=30 \
--enabled=true
deploy_record_listen_time:
appwrite functions create-deployment \
--function-id=674661f2001479869775 \
--entrypoint='record_listen_time.py' \
--commands='pip install -r requirements.txt' \
--code="./functions/record_listen_time" \
--activate=true
create_record_listen_time:
appwrite functions create \
--function-id=674661f2001479869775 \
--name="record_listen_time" \
--runtime=python-3.9 \
--commands='pip install -r requirements.txt' \
--provider-root-directory="./functions/record_listen_time" \
--entrypoint='record_listen_time.py' \
--timeout=30 \
--enabled=true
deploy_index_news_feed:
appwrite functions create-deployment \
--function-id=679fc996043c9a90e2df \
--entrypoint='index_news_feed.py' \
--commands='pip install -r requirements.txt' \
--code="./functions/index_news_feed" \
--activate=true
create_index_news_feed:
appwrite functions create \
--function-id=679fc996043c9a90e2df \
--name="index_news_feed" \
--runtime=python-3.9 \
--commands='pip install -r requirements.txt' \
--provider-root-directory="./functions/index_news_feed" \
--entrypoint='index_news_feed.py' \
--timeout=360 \
--enabled=true
deploy_index_podcast_feed:
appwrite functions create-deployment \
--function-id=679fe0e256c67950d62e \
--entrypoint='index_podcast_feed.py' \
--commands='pip install -r requirements.txt' \
--code="./functions/index_podcast_feed" \
--activate=true
create_index_podcast_feed:
appwrite functions create \
--function-id=679fe0e256c67950d62e \
--name="index_podcast_feed" \
--runtime=python-3.9 \
--commands='pip install -r requirements.txt' \
--provider-root-directory="./functions/index_podcast_feed" \
--entrypoint='index_podcast_feed.py' \
--timeout=360 \
--enabled=true
deploy_create_news_feed:
appwrite functions create-deployment \
--function-id=67a12be8e3a2ad0d676e \
--entrypoint='create_news_feed.py' \
--commands='pip install -r requirements.txt' \
--code="./functions/create_news_feed" \
--activate=true
create_create_news_feed:
appwrite functions create \
--function-id=67a12be8e3a2ad0d676e \
--name="create_news_feed" \
--runtime=python-3.9 \
--commands='pip install -r requirements.txt' \
--provider-root-directory="./functions/create_news_feed" \
--entrypoint='create_news_feed.py' \
--timeout=300 \
--enabled=true
deploy_create_podcast_feed:
appwrite functions create-deployment \
--function-id=67a147e4791d9ec6e02f \
--entrypoint='create_podcast_feed.py' \
--commands='pip install -r requirements.txt' \
--code="./functions/create_podcast_feed" \
--activate=true
create_create_podcast_feed:
appwrite functions create \
--function-id=67a147e4791d9ec6e02f \
--name="create_podcast_feed" \
--runtime=python-3.9 \
--commands='pip install -r requirements.txt' \
--provider-root-directory="./functions/create_podcast_feed" \
--entrypoint='create_podcast_feed.py' \
--timeout=300 \
--enabled=true
deploy_get_article:
appwrite functions create-deployment \
--function-id=67a15bad9774f8a009c5 \
--entrypoint='get_article.py' \
--commands='pip install -r requirements.txt' \
--code="./functions/summarize_article" \
--activate=true
create_get_article:
appwrite functions create \
--function-id=67a15bad9774f8a009c5 \
--name="get_article" \
--runtime=python-3.9 \
--commands='pip install -r requirements.txt' \
--provider-root-directory="./functions/summarize_article" \
--entrypoint='get_article.py' \
--timeout=30 \
--enabled=true
deploy_scheduler:
appwrite functions create-deployment \
--function-id=67a165e260f7bd4375f4 \
--entrypoint='scheduler.py' \
--commands='pip install -r requirements.txt' \
--code="./functions/scheduler" \
--activate=true
create_scheduler:
appwrite functions create \
--function-id=67a165e260f7bd4375f4 \
--name="scheduler" \
--runtime=python-3.9 \
--commands='pip install -r requirements.txt' \
--provider-root-directory="./functions/scheduler" \
--entrypoint='scheduler.py' \
--timeout=900 \
--enabled=true
deploy_daily_digest:
appwrite functions create-deployment \
--function-id=create_daily_digest \
--entrypoint='create_daily_digest.py' \
--commands='pip install -r requirements.txt' \
--code="./functions/create_daily_digest" \
--activate=true
create_daily_digest:
appwrite functions create \
--function-id=create_daily_digest \
--name="create_daily_digest" \
--runtime=python-3.9 \
--commands='pip install -r requirements.txt' \
--provider-root-directory="./functions/create_daily_digest" \
--entrypoint='create_daily_digest.py' \
--timeout=900 \
--enabled=true
deploy_all: deploy_ai deploy_record_listen_time deploy_index_news_feed deploy_index_podcast_feed deploy_create_news_feed deploy_create_podcast_feed deploy_get_article deploy_scheduler deploy_daily_digest
echo "All functions deployed."
create_all: create_ai create_record_listen_time create_index_news_feed create_index_podcast_feed create_create_news_feed create_create_podcast_feed create_get_article create_scheduler create_daily_digest
echo "All functions created."