Code Monkey home page Code Monkey logo

kuntaliitto.fi's Introduction

Avoin Kuntaliitto

Avoin kuntaliitto on Drupal 8 -pohjainen alusta verkkopalvelun pohjaksi.

Getting Started

This project is based on BLT, an open-source project template and tool that enables building, testing, and deploying Drupal installations. We use Docker4drupal environment for development

git clone [email protected]:Kuntaliitto/kuntaliitto.fi.git
cd kuntaliitto.fi

Start the docker environment

  • make up
  • make shell

Composer inside docker

  • make shell
  • run: composer install
  • run: composer run-script blt-alias
  • run: source /home/wodby/.bashrc
  • run: blt blt:init:settings

Set local settings

file: sites/default/settings/local.settings.php

Modify the host:

/**
 * Database configuration.
 */
$databases = array(
  'default' =>
  array(
    'default' =>
    array(
      'database' => $db_name,
      'username' => 'drupal',
      'password' => 'drupal',
      'host' => 'avoin_kl_mariadb',
      'port' => '3306',
      'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
      'driver' => 'mysql',
      'prefix' => '',
    ),
  ),
);
  • run: blt setup This will build the drupal based on the composer.json and running site-install for you based on the configuration provided in config/default folder.

  • run: drush uli -l http://avoin.kuntaliitto.fi:8000 and open the browser

/etc/hosts

You may need to edit you local /etc/hosts file (or /private/etc/hosts)

127.0.0.1 avoin.kuntaliitto.fi oppen.kommunforbundet.fi open.kuntaliitto.fi portainer.avoin.kuntaliitto.fi  adminer.avoin.kuntaliitto.fi

With browser

Access your site: http://avoin.kuntaliitto.fi:8000

kuntaliitto.fi's People

Watchers

 avatar  avatar

Forkers

miahon

kuntaliitto.fi's Issues

Change paragraphs classic widget to classic asymmetric

Paragraphs has changed a lot and the wigdet supporting translations is not gonna be added into default paragraphs, but supported via another module.

"drupal/paragraphs": "dev-1.x#c899469a460936339216093462442eb2e5a0f7c9", "drupal/paragraphs_asymmetric_translation_widgets": "dev-1.x#e676e682fd30c123fff1e863716b6792516bb11a",

We can also remove this patch:

"drupal/paragraphs": { "Add entity reference translation": "https://www.drupal.org/files/issues/meta_support-2461695-224.patch" },

So after this change, we need to change all individual fields also to support this.

Contibute LDAP configuration

Find a solid example how to authenticate users from LDAP and make example how kuntaliitto_contacts -module can use LDAP information for creating contacts from LDAP into Drupal.

Change media_entity to core/media

Includes

  • Entity browser
  • Media entity 8.x-1.7 -> 8.x-2.0-beta2 (2018-Mar-09)
  • Media entity video 8.x-1.0-beta2 -> 8.x-2.0-alpha1 (2017-Oct-17)
  • Video Embed Field 8.x-1.5 -> 8.x-2.0 (2018-Apr-10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.