The Päätöksenteko ja hallinto site has had many names and might still be referred to as Strategia ja talous or simply Strategia in some places. This site contains information about decision-making and administration in the city of Helsinki.
Env | Branch | Drush alias | URL |
---|---|---|---|
development | * | - | http://helfi-strategia.docker.so/ |
production | main | @main | https://hel.fi/fi/paatoksenteko-ja-hallinto |
You need to have these applications installed to operate on all environments:
- Docker
- Stonehenge
- For the new person: Your SSH public key needs to be added to servers
For the first time (new project):
$ make new
And following times to start the environment:
$ make up
NOTE: Change these according of the state of your project.
This will log you inside the app container:
$ make shell
The Päätöksenteko ja hallinto site features the IBM Watson Chatbot on few pages. You can configure the chatbot on the block layout page (admin/structure/block). More documentation about the chatbot is available in Confluence, and the code for the Drupal block can be found here.
The maximum menu depth has been set to 6 (the default is 4). This change primarily affects the sidebar menu. The depth modification has been made in the hdbt_subtheme.theme file. The menus support a deeper structure by default, so no additional changes, such as style adjustments, have been necessary.
The Päätöksenteko ja hallinto instance includes a few templates for the Service List Search paragraph used on the site. These files are:
form--views-exposed-form-service-list-block-search
input--textfield--service-list-search
Since the paragraph is globally available, it might be a good idea in the future to move these files to the hdbt theme.
For some reason, the News feature is enabled in this instance, and there are also published news_item contents in the database. At the time of writing, it is unclear why this is the case. Other topic-related news is created in the Etusivu instance in the same manner as other news, and the enabled News feature does not affect this process.