Magento 2 : Gulp in frontend

  • apt-get install nodejs and tape ln -s /usr/bin/nodejs /usr/bin/node
  • go to root prject and : apt-get install npm
  • npm install –global gulp-cli and tape npm install –save-dev gulp
  • donwload gulp.js from https://github.com/poddubny/magento2-gulp   =>     npm install gulp-less npm install gulp-sourcemaps  npm install gulp-cssmin  npm install gulp-livereload  npm install gulp-if
  • npm install -g graceful-fs
  • bin/magento dev:source-theme:deploy –locale=”en_US” –area=”frontend” –theme=”Ibnab/Salam”
  • php bin/magento setup:static-content:deploy

http://www.ibnab.com/en/blog/magento-2/magento-2-video-introduction-for-using-gulp-in-frontend

Down load to Magento folder

https://github.com/subodha/magento-2-gulp

Run Administration role:

  • bin/magento dev:source-theme:deploy –locale=”en_US” –area=”frontend” –theme=”Ibnab/Salam”
  1. Run : gulp exec --theme ex: gulp exec –luma
    Or: php bin\magento dev:source-theme:deploy --locale="en_AU" --area="frontend" --theme="VendorName/themeName"
  2. Run : gulp deploy --theme ex: gulp deploy –luma
    Or: php bin\magento setup:static-content:deploy en_AU
Advertisements

Drupal 8.5.3 modules

CMS login Core Modules
CMS operator management (administrator / operator) Core Modules
preview Core Modules
Approval workflow Workflow https://www.drupal.org/project/workflow
Revision control Core Modules
Banner management Core Modules
Scheduled release Scheduled https://www.drupal.org/project/scheduler
Content copy (Node Clone) Node Clone https://www.drupal.org/project/node_clone
File management (image, PDF etc) Core Modules
XML for SEO SEO Essentials https://www.drupal.org/project/seo_checklist
Google Analytics collaboration Google Analytics https://www.drupal.org/project/google_analytics

Install procedure for mail server

How to congifure mail server

1. Install sendmail
install package
# yum install sendmail sendmail-cf

edit sendmail.mc
# cd /etc/mail
# cp -p sendmail.mc sendmail.mc_yyyymmdd
# cp -p sendmail.cf sendmail.cf_yyyymmdd
# vi sendmail.mc
>include(`/usr/share/sendmail-cf/m4/cf.m4′)dnl
>VERSIONID(`setup for Red Hat Linux’)dnl
>OSTYPE(`linux’)dnl
>Dw[host name]
>Dm[domain name]
>define(`confDOMAIN_NAME’,`$w.$m’)dnl

>dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA’)dnl

create sendmail.cf
# m4 sendmail.mc > sendmail.cf

edit /etc/mail/access
# cd /etc/mail/
# cp -p access access_yyymmdd
# cp -p access.db access.db
# vi access

add accessible IP
Connect:localhost.localdomain RELAY
Connect:localhost RELAY
Connect:127.0.0.1 RELAY
Connect:XXX.XXX.XXX.XXX RELAY

create /etc/email/access.db
# makemap.sendmail hash access.db < access

configure /etc/mail/local-host-names
# cp -p local-host-names local-host-names_yyyymmdd
# vi local-host-names

2. Install dovecot
install package
# yum install dovecot

edit /etc/dovecot/conf.d/10-mail.conf
# vi /etc/dovecot/conf.d/10-mail.conf

mail_location = maildir:~/Maildir

edit /etc/dovecot/conf.d/10-auth.conf
# vi /etc/dovecot/conf.d/10-auth.conf

disable_plaintext_auth = no

edit /etc/dovecot/conf.d/10-ssl.conf
# vi /etc/dovecot/conf.d/10-ssl.conf

ssl = no

run dovecot
# systemctl start dovecot

activate dovecot
# systemctl enable dovecot

add mail user
useradd [user name]
passwd [user name]

3. Install postfix
install package
#yum install postfix

edit /etc/postfix/main.cf
# vi /etc/postfix/main.cf

edit a maximum size of mailbox
message_size_limit = 5242880

allow message from external network
inet_interfaces = all

add domain name after “mail.”
myhostname = mail.xxx.xxx

add domain name
mydomain = XXX.XXX

add this configuration
myorigin = [myhostname],localhost.mydomain, localhost, $mydomain

add mailbox type
home_mailbox = Maildir/

start postfix
# systemctl restart postfix

activate postfix
# systemctl enable postfix