dg:Workflow: mudanças entre as edições

874 bytes adicionados ,  9 de junho de 2023
Linha 181: Linha 181:


=== Gerar páginas ===
=== Gerar páginas ===
Ver:
* http://addressforall.org/en/visualization/
* https://github.com/AddressForAll/site-v2/blob/main/content/list_visualization.md
* http://addressforall.org/teste2/
Comando para gerar targets de criação de páginas. Selecionar apenas o que precisar.
<syntaxhighlight lang="sh">psql postgres://postgres@localhost/dl05s_main -qtAX -c "SELECT optim.generate_list('/tmp/pg_io/list_jurisd_true.txt',true); # gera uma listagem com arquivos filtrados"</syntaxhighlight>
Após executar o target escolhido, por exemplo:
<syntaxhighlight lang="sh">
cd /var/gits/_dg/preserv/src
make generate_pages pg_datalake=dl05s_main folder=/tmp/pg_io/genpages isolabel=BR-RS-NovoHamburgo pk=_pk0063.01</syntaxhighlight>
Depois mover as páginas para:
<syntaxhighlight lang="sh">mv /tmp/pg_io/genpages/*.html /var/www/addressforall.org/teste2
rm -rf /tmp/pg_io/genpages</syntaxhighlight>


== Inserir size no make_conf.yaml ==
== Inserir size no make_conf.yaml ==
198

edições