Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker and fixes #17

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Docker and fixes #17

wants to merge 5 commits into from

Conversation

ariel17
Copy link

@ariel17 ariel17 commented Oct 26, 2015

Hello!

I have added a couple of fixes on the environment:

  • A migration dependency for badges application since it requires that the core application exists before it runs.
  • A Docker configuration (a composer and a custom image).
  • I have separated the settings into modules as it is explained on Two Scoops of Django since the Docker architecture (in this case) requires specific changes like database location.
  • A very short instruction on README file.

I hope you find this changes useful.
Thank you very much & best regards.

@stephenrjones
Copy link
Contributor

Ariel,

Thanks so much for your contribution! We'll look to add this as soon as possible.

@ddub66
Copy link

ddub66 commented Feb 2, 2016

Thank you for the fix to the badges dependency on the core application. I have installed your changes and am still running into the same problem at the paver createdb step in the instruction.

Can you share the steps you need to take on how you would use your changes to fix the dependency? I'm new to python, django, et al.

The following shows the last lines of the error:

File "/home/twoadmin/pyenv/gamification/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 58, in execute six.reraise(utils.DatabaseError, utils.DatabaseError(*tuple(e.args)), sys.exc_info()[2]) File "/home/twoadmin/pyenv/gamification/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 54, in execute return self.cursor.execute(query, args) DatabaseError: relation "badges_badge" does not exist LINE 1: ...badges_badge"."level", "badges_badge"."icon" FROM "badges_ba...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants