Skip to content

Commit

Permalink
Update docker.rst
Browse files Browse the repository at this point in the history
Correções no processo de carga dos dados iniciais
  • Loading branch information
ojonathacardoso authored Jun 8, 2022
1 parent a4f8482 commit fe8d09f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Para que o sistema esteja com os dados iniciais, além das configurações de pe

::

sudo docker cp saap:config/initial_data/django_content.type.sql .
sudo docker cp saap:/var/interlegis/saap/config/initial_data/django_content_type.sql .
sudo docker exec -i postgres psql -U saap -d saap < django_content_type.sql

::
Expand All @@ -87,6 +87,7 @@ Para que o sistema esteja com os dados iniciais, além das configurações de pe
./manage.py loaddata config/initial_data/auth_permission.json
./manage.py loaddata config/initial_data/auth_group.json
./manage.py loaddata config/initial_data/saap_*.json
exit


Parar imagens
Expand Down

0 comments on commit fe8d09f

Please sign in to comment.