-
Notifications
You must be signed in to change notification settings - Fork 102
Instalación manual
Carlos de la Torre edited this page Apr 19, 2017
·
5 revisions
Debes tener Python >= 3.4 (no hay compatibilidad con Python 2).
* Usando *pyvenv*
```
$ pyvenv3-3 pyarweb
```
* Usando *virtualenvwrapper*
```
$ export VIRTUALENV_PYTHON=/usr/bin/python3
$ mkvirtualenv pyarweb
```
* Usando *virtualenv*
```
$ virtualenv -p /usr/bin/python3.4 pyarweb
```
-
Mediante source
$ source pyarweb/bin/activate -
Mediante virtualenvwrapper
$ workon pyarweb -
Mediante virtualenv
$ source pyarweb/bin/activate
Descarga el .tar.gz desde https://pypi.python.org/pypi/setuptools e instalalo con el python3 de tu virtualenv. Luego de instalar setuptools hacer:
```
$ easy_install-3.3 pip
```
```
$ sudo apt-get install python3-dev libxml2-dev libxslt1-dev zlib1g-dev libffi-dev
```
$ pip3 install -r ./dev_requirements.txt
```
$ python manage.py migrate
```
```
$ python manage.py runserver
```
Para configuraciones locales, existe el archivo pyarweb/local_settings.py que es ignorado por Git y se carga siempre y cuando exista.
La idea es usar este archivo para configuraciones propias o de desarrollo.