Skip to content
Snippets Groups Projects
Commit 1431a49d authored by Ben Adida's avatar Ben Adida
Browse files

upgraded packages, made things work again, though some tests still failing...

upgraded packages, made things work again, though some tests still failing because of asynchronous execution
parent 64644276
No related branches found
No related tags found
No related merge requests found
* install XCode
* in the preferences, downloads, install Command Line Tools
* install homebrew
* install python
```
brew install python
```
* clean up some things
```
pip install pip --upgrade
# yes this is necessary
pip uninstall setuptools
pip install setuptools
```
* install PostgreSQL latest
```
brew install --no-tcl postgresql
```
* install virtualenv
```
pip install virtualenv
```
* download helios-server
```
git clone git@github.com:benadida/helios-server
```
* cd into the helios-server directory
* create a virtualenv:
```
virtualenv venv
```
* activate virtual environment
```
source venv/bin/activate
````
* install requirements
```
pip install -r requirements.txt
```
* reset database
```
./reset.sh
```
* start server
```
python manage.py runserver
```
......@@ -2,17 +2,18 @@ Django==1.4.5
South==0.7.3
anyjson==0.3.1
celery==3.0.16
distribute==0.6.24
django-celery==3.0.11
django-picklefield==0.1.9
kombu==2.5.7
psycopg2==2.4.1
pyparsing==1.5.6
python-dateutil==1.5
django-celery==3.0.21
django-picklefield==0.3.0
kombu==2.5.13
psycopg2==2.5.1
pyparsing==1.5.7
python-dateutil>=1.5
python-openid==2.2.5
wsgiref==0.1.2
gunicorn==0.12.2
requests==0.14.1
gunicorn==17.5
requests==1.2.3
unicodecsv==0.9.0
dj_database_url==0.2.0
dj_database_url==0.2.2
django-sslify==0.2
django_webtest==1.7.5
webtest==2.0.7
......@@ -185,10 +185,10 @@ logging.basicConfig(
format = '%(asctime)s %(levelname)s %(message)s'
)
# BROKER_URL = "django://"
# set up django-celery
BROKER_BACKEND = "djkombu.transport.DatabaseTransport"
# BROKER_BACKEND = "kombu.transport.DatabaseTransport"
BROKER_URL = "django://"
CELERY_RESULT_DBURI = DATABASES['default']
import djcelery
djcelery.setup_loader()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment