Skip to content

City-of-Turku/palvelupolut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Service Paths

palvelupolut.fi is in archive mode and no longer maintained. The site is behind HTTP authentication, credentials can be found in the silta/silta.yml file. HTTP authentication is disabled for Wunder Telia VPN users and selected Turku IP addresses.

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 [email protected]: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