Comments (3)
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.
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.
Closing due to inactivity.
from indabom.
Related Issues (13)
- Auto-complete during 'Edit BOM' HOT 2
- Implement other part finder services HOT 4
- Manufacturing & Inventory & API HOT 1
- IndaBOM Installation HOT 16
- Useability - manage ellipsis is often off the right of the window and required scrolling HOT 1
- total weight
- IndaBOM is too awesome, need to make less awesome
- Part number syntax HOT 2
- KeyError at /bom/ HOT 2
- A corrupt component page is causing issues - user has no method to fix it.
- Bulk uploading (either to create parts or to populate BOMs) creates blank manufacturers unless there is a manufacturer column that's populated.
- Uploading CSV (to BOM or creating parts) overwrites class title with blank unless there's a class column that's populated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indabom.