Drupal 8 - Migrate Content from D6
I would like to share my experience on the last time I implemented the Migration API on Drupal 8, a heads-up before jumping to write code: keep calm.
I would like to share my experience on the last time I implemented the Migration API on Drupal 8, a heads-up before jumping to write code: keep calm.
# Verify pending updates
composer outdated drupal/*
# Update drupal core and dependencies
composer update drupal/core --with-dependencies
# Drupal site using drupal-composer/drupal-project
composer update drupal/core webflo/drupal-core-require-dev --with-dependencies
# Once I was forced to remove composer.lock and vendor/ then redo composer update with dependencies
rm -Rf composer.lock vendor/
Is there a simplest way to put them together without an headache?
Firstly setup properly Azure DB firewall, then execute the following command within you Visual Studio,
Update-Database -Configuration {Project_Namespace}.Migrations.Configuration -Verbose -ConnectionString "Server=tcp:{Azure_SQL_Server}.database.windows.net,1433;Initial Catalog={Azure_DB_Name};Persist Security Info=True;User ID={Azure_DB_Username};Password={Azure_DB_Password};MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" -ConnectionProviderName "System.Data.SqlClient"
ifconfig
/sbin/ifconfig | grep 'inet addr:'
nmap
nmap -sP 192.168.1.0/24
kill -9 $(lsof -t -i:4200)
ssh-copy-id -i root@ip_address
Create compress files
tar -czvf NEW_FILE_NAME.tar.gz /PATH/TO/DIRECTORY-OR-FILE-TO-COMPRESS
Extract files
tar -xzvf FILE_NAME.tar.gz -C /tmp
There is a documentation on official PHP website about how to consume a SOAP service by using "
\Drupal::service('date.formatter')->format($timestamp, $type, $format, $timezone, $langcode);
/* $type: - One of the built-in formats:
* 'short', 'medium', 'long', 'html_datetime', 'html_date',
* 'html_time', 'html_yearless_date', 'html_week', 'html_month', 'html_year'.
*/