/palvelupolut

Palvelupolut + Storybook

Primary LanguageTwigGNU General Public License v2.0GPL-2.0

Service Paths

Production environment

Storybook - Service Paths design system

Staging environment

Drush alias for current Silta feature branch deployment is drush @current st.

Local environment

Setup

  1. Read the Lando docs and install the latest Lando.
  2. Check out the repo: git clone git@github.com:wunderio/client-fi-turku-service-paths.git service-paths && cd service-paths.
  3. Start the site by running lando start.
  4. Import data:
    1. lando syncdb - (connect to VPN first!) synchronise local DB with sanitised production environment or
    2. lando db-import db.sql.gz.
  5. Update database & enable development components: lando drush deploy.

Services

  • lando - tools / commands overview.
  • lando grumphp <commands> - run GrumPHP code quality checks. Modified or new files are checked on git commit, see more at lando grumphp -h or wunderio/code-quality.
  • lando import - import the services data via drush migrate tasks.
  • lando npm <commands> - run npm commands.
  • lando psalm <commands> - run Psalm commands.
  • lando syncdb - synchronise local database with production environment.
  • lando xdebug <mode> - load Xdebug in the selected mode(s).

Drupal development hints