Skip to content

Instantly share code, notes, and snippets.

Cristiano Pacheco cristiano-pacheco

Block or report user

Report or block cristiano-pacheco

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
View config
mkdir -p ~/.config/terminator
nano ~/.config/terminator/config
paste de content in the file above
title_transmit_bg_color = "#729fcf"
cristiano-pacheco / install_magento2.txt
Last active Jan 18, 2019
Install magento 2 with docker.
View install_magento2.txt
#### 1-Baixar repositório docker
baixar o conteudo
ou fazer o clone do projeto
git clone
cristiano-pacheco / docker-magento.txt
Created Jan 12, 2019
Instruções para instalação do docker-magento
View docker-magento.txt
1-Clonar o repositório
git clone
2-Copiar o diretório magento-2 dentro de docker-magento/compose para local de sua preferencia e entrar no diretório
2-Fazer instalação do código fonte do magento via composer
bin/download 2.3.0
3-subir os containers
View install_magento2-docker.txt
##### Instalação do repositório
mkdir magento2 && cd $_
git init
git remote add origin
git fetch origin
git checkout origin/master -- compose/magento-2
mv compose/magento-2/* .
rm -rf compose .git
git init
cristiano-pacheco / docker-compose.yml
Created Aug 6, 2018
Docker compose file example mongodb and rabbitmq
View docker-compose.yml
version: '2'
image: mongo:3.6.6
restart: always
mem_limit: 3G
container_name: orange_mongo
- "27017:27017"
View docker-compose.yml
version: '2'
image: nginx:1.13.8
container_name: orange_nginx
- "80:80"
- "443:443"
View Dockerfile
FROM php:5.6-fpm
RUN apt-get update && apt-get install -y \
libmcrypt-dev \
libicu-dev \
mysql-client \
zlib1g-dev \
&& docker-php-ext-install pdo_mysql \
iconv \
mcrypt \
You can’t perform that action at this time.