This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"_type":"export","__export_format":4,"__export_date":"2020-09-15T01:45:52.755Z","__export_source":"insomnia.desktop.app:v2020.3.3","resources":[{"_id":"req_b81cca1a8022457484d020ab8f3e643e","authentication":{"token":"ybnump24cgbilr8hchg6t48ht5crdg21","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n \"customer\": {\n \"email\": \"[email protected]\",\n \"firstname\": \"Jane\",\n \"lastname\": \"Doe\",\n \"addresses\": [\n {\n \"defaultShipping\": true,\n \"defaultBilling\": true,\n \"firstname\": \"Jane\",\n \"lastname\": \"Doe\",\n \"region\": {\n \"regionCode\": \"NY\",\n \"region\": \"New York\",\n \"regionId\": 43\n },\n \"postcode\": \"10755\",\n \"street\": [\n \"123 Oak Ave\"\n ],\n \"city\": \"Purchase\",\n \"telephone\": \"512-555-1111\",\n \"countryId\": \"US\"\n }\n ]\n },\n \"password\": \"Password1\"\n}"},"created":1600132892965,"desc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt install nfs-kernel-server -y | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
sudo apt-get install docker-ce docker-ce-cli containerd.io -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################################################# | |
## Script de configuração geral - Linux | |
## By Hewerson Freitas (https://github.com/hewersonfreitas) | |
################################################################ | |
## Update and Upgrade Distro | |
sudo apt update && sudo apt upgrade -y && |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.3-apache | |
ENV XDEBUG_PORT 9000 | |
# Install System Dependencies | |
RUN apt-get update \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | |
software-properties-common \ | |
&& apt-get update \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.2-apache | |
ENV XDEBUG_PORT 9000 | |
# Install System Dependencies | |
RUN apt-get update \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | |
software-properties-common \ | |
&& apt-get update \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.0-apache | |
ENV XDEBUG_PORT 9000 | |
# Install System Dependencies | |
RUN apt-get update \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | |
software-properties-common \ | |
&& apt-get update \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Update and Upgrade Distro | |
sudo apt update && sudo apt upgrade -y && | |
## Install Addons Codecs | |
sudo apt install ubuntu-restricted-extras -y && | |
## Setting Buttons to Left Side | |
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize' && | |
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:' && | |
## Install VLC Player | |
sudo apt-get install vlc -y && |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chown -R www-data:www-data /var/www/html/{loja} && | |
sudo rm -rf /var/www/html/{loja}/var/* && | |
sudo rm -rf /var/www/html/{loja}/generated/* && | |
sudo rm -rf /var/www/html/{loja}/pub/static/* && | |
sudo chmod -R 777 /var/www/html/{loja}/pub/static && | |
php /var/www/html/{loja}/bin/magento setup:upgrade && | |
php /var/www/html/{loja}/bin/magento setup:di:compile && | |
php /var/www/html/{loja}/bin/magento setup:static-content:deploy pt_BR -f && | |
chmod -R 777 /var/www/html/{loja}/var && | |
chmod -R 777 /var/www/html/{loja}/pub && |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chown -R www-data:www-data /var/www/html/{loja} && | |
sudo rm -rf /var/www/html/{loja}/var/* && | |
sudo rm -rf /var/www/html/{loja}/pub/static/* && | |
sudo chmod -R 777 /var/www/html/{loja}/pub/static && | |
php /var/www/html/{loja}/bin/magento setup:upgrade && | |
php /var/www/html/{loja}/bin/magento setup:di:compile && | |
php /var/www/html/{loja}/bin/magento setup:static-content:deploy pt_BR && | |
chmod -R 777 /var/www/html/{loja}/var && | |
chmod -R 777 /var/www/html/{loja}/pub && | |
sudo chown -R www-data:www-data /var/www/html/{loja} && |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear; | |
php -v | |
echo ''; | |
echo "Versão atual: " | |
read current; | |
echo "Alterar para a versão: "; |
NewerOlder