Browse Source

Correção no tutorial de instalação (#1967)

Adiciona o psycopg2-binary aos requirements do projeto

Corrige o tutorial de instalação com passos necessários
pull/1970/head
João Pedro Sconetto 7 years ago
committed by Edward
parent
commit
ce7d9592e5
  1. 6
      docs/instalacao31.rst
  2. 2
      requirements/requirements.txt

6
docs/instalacao31.rst

@ -28,10 +28,10 @@ Instalar as seguintes dependências do sistema::
pkg-config postgresql postgresql-contrib pgadmin3 python-psycopg2 \
software-properties-common build-essential libxml2-dev libjpeg-dev \
libmysqlclient-dev libssl-dev libffi-dev libxslt1-dev python3-setuptools \
python3-pip curl poppler-utils antiword default-jre
python3-pip curl poppler-utils antiword default-jre python3-venv
sudo -i
curl -sL https://deb.nodesource.com/setup_6.x | bash -
curl -sL https://deb.nodesource.com/setup_8.x | bash -
exit
sudo apt-get install nodejs
@ -184,6 +184,8 @@ Copie a chave que aparecerá, edite o arquivo .env e altere o valor do parâmetr
* Instalar as dependências do ``bower``::
eval $(echo "sudo chown -R $USER:$USER /home/$USER/")
sudo chown -R $USER:$GROUP ~/.npm
sudo chown -R $USER:$GROUP ~/.config
./manage.py bower install
* Atualizar e/ou criar as tabelas da base de dados para refletir o modelo da versão clonada::

2
requirements/requirements.txt

@ -22,7 +22,7 @@ easy-thumbnails==2.3
django-image-cropping==1.1.0
git+git://github.com/interlegis/trml2pdf.git
libsass==0.11.1
psycopg2==2.7.3
psycopg2-binary==2.7.4
python-decouple==3.0
pytz==2016.4
pyyaml==3.11

Loading…
Cancel
Save