From 43e4bd5f3743fb6eb312d4de2b5c0f053596559f Mon Sep 17 00:00:00 2001 From: Fabiano Alencar Date: Thu, 22 Nov 2018 19:23:29 -0200 Subject: [PATCH] Update the README to added the sass instalation and composer to build the theme --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 20a9bb3..9454d43 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,13 @@ Default Tainacan Theme, to be used with tainacan plugin # Instalação no WordPress - Copiar o arquivo `build-config-sample.cfg` para `build-config.cfg` - Ajustar o `PATH` da variável `destination` para o caminho desejado correspondente +- Instalar o SASS + sudo apt install ruby-full rubygems autogen autoconf libtool make + sudo gem install sass +- Instalar o Composer + php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" + HASH="$(wget -q -O - https://composer.github.io/installer.sig)" + php -r "if (hash_file('SHA384', 'composer-setup.php') === '$HASH') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" + sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer +- Execute o build + ./build.sh \ No newline at end of file