Package Exports
- @scandipwa/magento-scripts
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@scandipwa/magento-scripts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
magento-scripts
This package contains scripts and configuration used by Create Magento App by Create Magento App.
Usage
> create-magento-app <folder name>
> cd <folder name>
> yarn/npm run start
To use commands such as composer
, magento
and php
with correct version run command:
> yarn/npm cli
This will open bash with correct aliases to php
, magento
and composer
.
To open logs use command logs
with one of the scopes: redis
, mysql
, elasticsearch
, nginx
or magento
.
> yarn/npm run logs nginx
> // nginx logs
Requirements
For Mac
Dependencies
Ubuntu
apt-get install \
libjpeg-dev \
libjpeg8-dev \
libjpeg-turbo8-dev \
libpng-dev \
libicu-dev \
libfreetype6-dev \
libzip-dev \
libssl-dev \
build-essential \
libbz2-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libxml2-dev \
libxslt-dev \
php-cli \
php-bz2 \
pkg-config
Mint Linux
apt-get install \
libjpeg-dev \
libjpeg8-dev \
libjpeg-turbo8-dev \
libpng-dev \
libicu-dev \
libfreetype6-dev \
libzip-dev \
libssl-dev \
build-essential \
libbz2-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libxml2-dev \
libxslt-dev \
php-cli \
php-bz2 \
pkg-config \
autoconf \
libcurl4-openssl-dev
CentsOS / Fedora
yum install openssl-devel \
libjpeg-turbo-devel \
libpng-devel \
gd-devel \
libicu libicu-devel \
libzip-devel \
libtool-ltdl-devel
Arch
pamac install freetype2 \
lib32-freetype2 \
openssl
MacOS
sudo xcode-select -switch /Applications/Xcode.app
brew install zlib \
bzip2 \
libiconv \
curl \
libpng \
gd \
freetype \
oniguruma \
icu4c
You'll need to add this line to your .bashrc/.zshrc file to be able properly compile intl extension.
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
Additional libraries:
- Installed PHP with json extension.