From: Guillaume Pellerin Date: Sun, 22 Nov 2015 22:46:31 +0000 (+0100) Subject: fix registration version (dj1.6 compatible), re-add some dep install, change default... X-Git-Tag: 1.6b~7^2~50 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=ea15124de166dd766941014f1ce0687d6165a928;p=telemeta.git fix registration version (dj1.6 compatible), re-add some dep install, change default sql passwords --- diff --git a/docker-compose.yml b/docker-compose.yml index 762c32c4..75e3b455 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -59,10 +59,10 @@ db: - lib - log environment: - - MYSQL_ROOT_PASSWORD=mysecretpassword - - MYSQL_DATABASE=sandbox - - MYSQL_USER=root - - MYSQL_PASSWORD=mysecretpassword + - MYSQL_ROOT_PASSWORD=ItCydyatzix8 + - MYSQL_DATABASE=telemeta + - MYSQL_USER=telemeta + - MYSQL_PASSWORD=iuvIlkyisFit2 rabbitmq: image: rabbitmq:3-management diff --git a/examples/deploy/start_app.sh b/examples/deploy/start_app.sh index c0a1cabc..47179f85 100644 --- a/examples/deploy/start_app.sh +++ b/examples/deploy/start_app.sh @@ -8,7 +8,7 @@ manage=$sandbox'/manage.py' wsgi=$sandbox'/wsgi.py' # stating apps -# pip install django-haystack elasticsearch +pip install django-haystack elasticsearch # waiting for other services sh $app_dir/examples/deploy/wait.sh diff --git a/examples/sandbox/settings.py b/examples/sandbox/settings.py index a79eea62..039dcd54 100644 --- a/examples/sandbox/settings.py +++ b/examples/sandbox/settings.py @@ -32,9 +32,9 @@ DATABASES = { # MySQL config 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. - 'USER': 'root', # Not used with sqlite3. - 'PASSWORD': 'mysecretpassword', # Not used with sqlite3. - 'NAME': 'sandbox', + 'USER': 'telemeta', # Not used with sqlite3. + 'PASSWORD': 'iuvIlkyisFit2', # Not used with sqlite3. + 'NAME': 'telemeta', 'HOST': 'db', # Set to empty string for localhost. Not used with sqlite3. 'PORT': '3306', # Set to empty string for default. Not used with sqlite3. } @@ -298,4 +298,6 @@ HAYSTACK_CONNECTIONS = { HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor' -HAYSTACK_SEARCH_RESULTS_PER_PAGE = 50 \ No newline at end of file +HAYSTACK_SEARCH_RESULTS_PER_PAGE = 50 + + diff --git a/requirements-dev.txt b/requirements-dev.txt index fc725761..764c86bf 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,3 @@ --e git+https://github.com/mariocesar/sorl-thumbnail.git@eb52b23348fa5b1446c590f4ac95114dae81c168#egg=sorl-thumbnail-12.2 +-e git+https://github.com/mariocesar/sorl-thumbnail.git@v12.2#egg=sorl-thumbnail-12.2 -e git+https://github.com/Parisson/ebooklib.git#egg=ebooklib-0.16 diff --git a/requirements.txt b/requirements.txt index d66c1a17..04fef4d2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ --index-url https://pypi.python.org/simple/ setuptools +wheel -e . diff --git a/setup.py b/setup.py index 90ce7a47..5f33c1d8 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ setup( version = '1.6', install_requires = [ 'django==1.6.11', - 'django-registration', + 'django-registration==1.0', 'django-extensions', 'django-timezones', 'django-jqchat',