Skip to content

Instantly share code, notes, and snippets.

@denoww
Last active October 4, 2025 15:07
Show Gist options
  • Save denoww/0434108be6e9eea47bdb8395dddb3fc4 to your computer and use it in GitHub Desktop.
Save denoww/0434108be6e9eea47bdb8395dddb3fc4 to your computer and use it in GitHub Desktop.
_work=~/workspace
_sc=$_work/seucondominio/
# Criando atalhos
wget https://gist.githubusercontent.com/denoww/4a53c2fe43e67979a433f6ef446d11a2/raw -O ~/.bash_aliases && source ~/.bash_aliases
# lib sc
wget -O - https://gist.githubusercontent.com/denoww/a1acfd75198e743e31e1f6a127244ced/raw | bash -s install
# Clone o repo
mkdir -p $_work
git -C $_work clone [email protected]:denoww/seucondominio.git
git -C $_sc checkout tools
# crie .gitignore
cp $_sc/gitignore_sample $_sc/.gitignore
# crie config/application.yml
cp $_sc/config/application_sample.yml $_sc/config/application.yml
# crie os arquivos do docker
cp $_sc/Dockerfile_sample $_sc/Dockerfile
cp $_sc/docker-compose_sample.yml $_sc/docker-compose.yml
cp $_sc/.env.sample $_sc/.env
# pry
cp $_sc/.pryrc_sample $_sc/.pryrc
# Docker
sudo apt-get install -y libpq-dev imagemagick libmagickcore-dev libmagickwand-dev
docker compose build os
docker compose build erp
docker compose -f $_sc/docker-compose.yml build
# cloud66 toolbelt
# echo =============================================
# echo Instalando cloud66 toolbelt
# echo =============================================
# \curl -sSL https://s3.amazonaws.com/downloads.cloud66.com/cx_installation/cx_install.sh | sudo bash
# cx login
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment