Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/city-of-helsinki/paatokset_ahjo
https://github.com/city-of-helsinki/paatokset_ahjo
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/city-of-helsinki/paatokset_ahjo
- Owner: City-of-Helsinki
- Created: 2021-05-03T07:51:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-15T12:41:58.000Z (over 3 years ago)
- Last Synced: 2024-04-08T16:42:45.289Z (9 months ago)
- Language: PHP
- Size: 54.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drupal Päätökset Ahjo integration
Integrates [OpenAhjo](https://dev.hel.fi/apis/openahjo#documentation) with Drupal, focused on to meet the needs of Helsinki Päätökset site
## Requirements
- PHP 7.4 or higher
## Usage
Available migrations:
- `paatokset_agenda_items`
- `paatokset_issues`
- `paatokset_meetings`
- `paatokset_meeting_documents`
- `paatokset_organizations`
- `paatokset_policymakers`### Running migrations
Running a single migration:
`drush migrate:import {migration_id}` Add `--update` parameter to update existing items.
Reverting a migration:
`drush migrate:rollback {migration_id}`.
Migration failed and the migration process is stuck at importing:
`drush migrate:reset-status {migration_id}`.
### Speed up migrations
Set `PARTIAL_MIGRATE=1` env variable to only migrate changed items. *NOTE:* running a partial migrate will skip
all garbage collection tasks (such as cleaning removed remote entities), so you should periodically run full migrations as well.