***************  Docksal Setup ********************
http://docksal.readthedocs.io/en/master/
 
- Created a project folder : C:\Users\[ user  ]\Documents\_dev\docksal
 
 
 
----- Install Babun -----
Cygwin, Package Manager(Yum), bash, git, vcs, curl, grep, python, perl,
http://babun.github.io/
 
 
- Download, unzip
- Added an new folder named "babun" to C:\Users\[ user  ]\Documents\_dev\docksal
- Run install.bat,                 [~4mins]
 
 
In terminal
- curl -fsSL get.docksal.io | sh   [~4mins]
- password
- fin vm start                     [~4mins]
 
- git clone https://github.com/docksal/drupal8.git
- fin init
- 192.168.64.100 drupal8.docksal     in host file: %SystemRoot%\System32\drivers\etc\
 
 
 
 
 
***************  Docksal Workflow ********************
- <start><run>   run babun.bat
- fin vm start >> enter Windows pw
- cd docksal/drupal8
- fin drush --version
- [yes]
- http://drupal8.docksal
* If it points to the developers site, close and reopen the browser
 
----- Open Virtual Box ----
- cd ..   from root@docksal:~ to docksal:/
 -in-
.c/Users/[ user  ]/.babun/cygwin/home/[ user  ]/docksal/drupal8/docroot/
 
!! fin config show    is awesome
 
----- Creating a Theming Dev instance ---------
 
- Grab a recent D8 theme, in my case I'm using : https://www.drupal.org/project/bootstrap
- Create a new file : "Gemfile" in /drupal8/docroot/themes. Containes:
 
source "https://rubygems.org"
gem 'sass', '~>3.4.0'
gem 'compass'
gem 'bootstrap-sass', '~>3.2.0'
 
- fin exec sudo gem install bundler  
- fin exec bundle install
- fin exec bundle exec compass compile
 
 
 
*********** Project theme dir **************************
/home/[ user  ]/docksal/drupal8/docroot/themes/bootstrap
 
 
fin config generate
fin start
 
 
 
 
 
 
 
? If broken, http://drupal8.docksal/install
 
 
 
* running Drush in the project folder
 
 
 
* Working directory
* C:\Users\jsantos3\.babun\cygwin\home\[ user  ]\docksal\drupal8\docroot
 
http://docksal.readthedocs.io/en/master/fin/fin/
 
 
 
You are about to DROP all tables in your 'default' database. Do you want to continue? (y/n): y
Starting Drupal installation. This takes a while. Consider using the --notify global     [ok]
option.
Installation complete.  User name: admin  User password: kwPuJDXCyV  
 
- http://drupal8.docksal
 
 
 
 
----------- Notes ------------------------
?????? Drush?
- fin drush --version
 
* Install Drush for VM
???????? Revovery
 
 
 
 
location= C:/Users/[ user  ]/.docker/machine/machines/docksal/
 
Docs
https://github.com/docksal/drupal8
http://docksal.readthedocs.io/en/master/getting-started/env-setup/
y
 
 
fin drush lofi-import-termine http://drupal8.docksal/sites/default/files/data.xml
 
 
============= Module developement ============================
 
Migrate
Migrate Plus
Migrate Source CSV
Migrate Tools
Note: I also had the following enabled on my dev PC
Migrate Drupal
Migrate Drupal UI
 
 
 
 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
Download and install : drupal_8_xml_image_migration-master
 
 
"Migrate Tools" requires conditionals to install !
---------------------------------------------------------
  if (isset($entity_types['migration'])) {
    $entity_types['migration']
      ->set('admin_permission', 'administer migrations')
      ...
  }
 
  if (isset($entity_types['migration_group'])) {
    $entity_types['migration_group']
      ->set('admin_permission', 'administer migrations')
      ...
  }
 
Error using Drush with new Drupal installation of Drupal 8
https://www.digitalocean.com/community/questions/error-using-drush-with-new-drupal-installation-of-drupal-8
 
 
---------------------------------------------------------
Shell Shit
! View all files : ls -A