I hereby claim:
- I am ericof on github.
- I am ericof (https://keybase.io/ericof) on keybase.
- I have a public key ASBSkC1a5pg6LrU-h_ZMlzECA4OTghEjRrUynyEgcFUPogo
To claim this, I am signing this object:
| # Instala pacotes base | |
| sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git docker.io | |
| # Instala pyenv (Gestor de instalacoes Python) | |
| curl https://pyenv.run | bash | |
| echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc | |
| echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc | |
| echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bashrc | |
| source ~/.bashrc |
| version: "3" | |
| services: | |
| webserver: | |
| image: traefik:v2.10 | |
| ports: | |
| - 80:80 | |
| labels: | |
| - traefik.enable=true |
| from foo import _ | |
| from plone import api | |
| from plone.dexterity.content import Container | |
| from plone.supermodel.model import Schema | |
| from zope import schema | |
| from zope.interface import implementer | |
| ICONS = [ | |
| "building-columns", |
| FROM plone/plone-backend:6.0.0a4 | |
| # Add local code | |
| COPY src ./src | |
| RUN ./bin/pip install ./src |
| version: "3" | |
| services: | |
| frontend: | |
| image: plone/plone-frontend:15.4.0 | |
| environment: | |
| RAZZLE_INTERNAL_API_PATH: http://backend:8080/Plone | |
| ports: | |
| - "3000:3000" | |
| depends_on: |
| # Start Plone backend | |
| docker run -d -p 8080:8080 plone/plone-backend:6.0.0a4 | |
| # Create a new frontend project | |
| yo @plone/volto | |
| # Start frontend | |
| yarn start |
| # Start Plone on port 8080 | |
| docker run -it -e SITE=Plone -p 8080:8080 plone/plone-backend:6.0.0a4 |
| # Create a new Python virtual environment | |
| python3 -m venv . | |
| # Install Plone | |
| ./bin/pip install Plone -c https://dist.plone.org/release/6.0.0a4/constraints.txt | |
| # Create a new instance | |
| ./bin/mkwsgiinstance -d . | |
| # Start Plone | |
| ./bin/runwsgi -v etc/zope.ini |
I hereby claim:
To claim this, I am signing this object:
| <ul class="list-central"> | |
| <li class="item-central item-videos first"><a class="link-central link-videos internal-link" href="resolveuid/bde905fcdd904ce0bd70d2d8e345aa78" target="_self" title="">Vídeos</a></li> | |
| <li class="item-central item-audios"><a class="link-central link-audios internal-link" href="resolveuid/0b7269fba90e4e1ea5e9c68cf8364944" target="_self" title="">Áudios</a></li> | |
| <li class="item-central item-infograficos"><a class="link-central link-infograficos internal-link" href="resolveuid/2552995189d84b999b2454536cbb55af" target="_self" title="">Infográficos</a></li> | |
| <li class="item-central item-aplicativos"><a class="link-central link-aplicativos internal-link" href="http://www.aplicativos.gov.br/" target="_self" title="">Aplicativos</a></li> | |
| <li class="item-central item-dadosabertos last-item"><a class="link-central link-dadosabertos internal-link" href="http://dados.gov.br/" target="_self" title="">Dados Abertos</a></li> | |
| </ul> |