-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathapp.json
35 lines (35 loc) · 1.84 KB
/
app.json
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
{
"name": "gobierto",
"description": "Gobierto Transparencia",
"cron": [
{
"command": "bundle exec rails gobierto_admin:regenerate_preview_tokens",
"schedule": "7 * * * *"
},
{
"command": "bundle exec rails gobierto_budgets_data:data:load_debt",
"schedule": "2 * * * *"
},
{
"command": "bundle exec rails gobierto_budgets_data:data:load_population",
"schedule": "2 * * * *"
},
{
"command": "bundle exec rails gobierto_budgets:data:sites_annual_providers",
"schedule": "50 2 * * *"
},
{
"command": "bundle exec rails gobierto_budgets:data:sites_annual",
"schedule": "20 2 * * *"
},
{
"command": "bundle exec rails gobierto_people:sync_agendas",
"schedule": "00 */2 * * *"
}
],
"scripts": {
"dokku": {
"postdeploy": "bundle exec rails db:migrate && bundle exec rails common:rebuild_multisearch_indexes && bundle exec rails gobierto_core:assets:export_embeds && bundle exec rails i18n:js:export && ln -s /app/vendor/gobierto_engines/custom-fields-data-grid-plugin/app/javascripts/custom_fields_data_grid_plugin.js /app/app/javascript && ln -s /app/vendor/gobierto_engines/custom-fields-data-grid-plugin/app/javascripts/custom_fields_data_grid_plugin /app/app/javascript && ln -s /app/vendor/gobierto_engines/custom-fields-progress-plugin/app/javascripts/custom_fields_progress_plugin.js /app/app/javascript && ln -s /app/vendor/gobierto_engines/custom-fields-progress-plugin/app/javascripts/custom_fields_progress_plugin /app/app/javascript && ln -s /app/vendor/gobierto_engines/custom-fields-table-plugin/app/javascripts/custom_fields_table_plugin.js /app/app/javascript && ln -s /app/vendor/gobierto_engines/custom-fields-table-plugin/app/javascripts/custom_fields_table_plugin /app/app/javascript && bundle exec rails assets:precompile"
}
}
}