Skip to content
This repository has been archived by the owner on May 14, 2019. It is now read-only.

Base de conhecimento do Grupo Tesseract criado com October CMS e Otcoplus Wiki Plugin.

License

Notifications You must be signed in to change notification settings

grupotesseract/knowledge-base

Repository files navigation

Grupo Tesseract

KNOWLEDGE BASE

Open Source Love

Sobre

Base de conhecimento do Grupo Tesseract criado com October CMS e Otcoplus Wiki Plugin.

Requisitos

  • Docker
curl -fsSL https://get.docker.com/ | sh
sudo groupadd docker
sudo usermod -aG docker $USER
sudo systemctl restart docker
  • Docker Compose
COMPOSE_VERSION=`git ls-remote https://github.com/docker/compose | grep refs/tags | grep -oP "[0-9]+\.[0-9][0-9]+\.[0-9]+$" | tail -n 1`
sudo sh -c "curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose"
sudo chmod +x /usr/local/bin/docker-compose
  • Node
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
source ~/.profile
  • Gulp
npm i -g gulp-cli
npm i

Instalação

git clone github:grupotesseract/knowledge-base
cd knowledge-base
cp .env-example .env
docker-compose up nginx php-fpm workspace postgres pgadmin

Em outra aba, na mesma pasta:

docker-compose exec --user=laradock workspace composer install
docker-compose exec workspace php artisan october:install

Em outra aba, na mesma pasta:

gulp