Public | Automated Build

Last pushed: a year ago
Short Description
Micro-serviço para gerenciamento de arquivos.
Full Description

Docker

docker-compose build fe_arquivo
docker-compose run --rm fe_arquivo pip install -r /requirements/development.txt
docker-compose run --rm fe_arquivo pip install -r /requirements/production.txt
docker-compose run --rm fe_arquivo python manage.py migrate
docker-compose run --rm --name fe_arquivo --service-ports fe_arquivo /bin/bash

Migrations

python manage.py makemigrations fe_arquivo
python manage.py migrate fe_arquivo zero

Dreamhost

cat ~/.ssh/fe_microservices.pub | ssh -o PubkeyAuthentication=no fems06@klamathfalls.dreamhost.com "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys"
ssh fems06@klamathfalls.dreamhost.com
fab -c fab_dreamhost deploy
Docker Pull Command
Owner
fernandoe
Source Repository

Comments (0)