GithubHelp home page GithubHelp logo

"bom_usermeta" does not exist about indabom HOT 3 CLOSED

higstar avatar higstar commented on August 30, 2024
"bom_usermeta" does not exist

from indabom.

Comments (3)

higstar avatar higstar commented on August 30, 2024

FYI I am trying to get an instance of indabom up and running for a small project.
I started by directly using django-bom plugin. This turned out to be harder than expected, so when I found this repo (i.e. indabom), I started to get it up and running in a docker container.

Below are the files used in this process which may be helpful for you or others as a starting point, if not only to help me debug this issue (or edumacate me on how indabom SHOULD be used).

The dockerfile:


ENV PYTHONUNBUFFERED 1

RUN mkdir /src

WORKDIR /src

ADD requirements.txt /src/

RUN pip install -r requirements.txt

ADD . /src/

# delete all the migrations  (https://github.com/mpkasp/django-bom/issues/2)
RUN rm -fr  /usr/local/lib/python2.7/site-packages/bom/migrations

With the following set in the local_settings.py:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': 'postgres',
        'USER': 'postgres',
        'HOST': 'db',
        'PORT': 5432,
    }
}

Finally this compose setup:

version: '3'

services:
  db:
    image: postgres
  web:
    build: .
    command: python manage.py runserver 0.0.0.0:8000
    ports:
      - "8000:8000"
    depends_on:
      - db

from indabom.

mpkasp avatar mpkasp commented on August 30, 2024

Doesn't make sense to me that this is an issue with the indabom project. There are no models, and the usermeta model is associated with the django-bom project.

from indabom.

mpkasp avatar mpkasp commented on August 30, 2024

Closing due to inactivity.

from indabom.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.