-
Notifications
You must be signed in to change notification settings - Fork 9
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
Installation README Ambiguity (dev/1.1.x) #1373
Comments
The project settings.py that I created from dev/7.5.x doesn't have # A hack to see if this exists.
try:
RENDERERS
except NameError:
RENDERERS = []
RENDERERS += [
{
"name": "xy-reader",
"title": "XY Data File Reader",
"description": "Use for all instrument outputs with x-y data",
"id": "e93b7b27-40d8-4141-996e-e59ff08742f3",
"iconclass": "fa fa-bolt",
"component": "views/components/cards/file-renderers/xy-reader",
"ext": "txt",
"type": "text/plain",
"exclude": "",
},
] |
Hmmm... Maybe a Django version issue with this:
Something like this work? from django.urls import include, path, re_path
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
re_path(r'^', include('arches.urls')),
re_path(r"^", include("arches_for_science.urls")),
path("reports/", include("arches_templating.urls")),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) |
Thanks, these are really helpful observations.
Nice catch.
Ah, thanks. Yeah, the arches app feature was developed in tandem with the django upgrade and we didn't account for that here. DISCO is a good reference, except here I'll probably suggest just sticking with
Can you elaborate on what you found difficult to follow? I only see one reference to the myappname placeholder, and in your case it would be |
Thanks!! @jacobtylerwalls I'll to use your README update as a guide for my next attempts at deployment. |
@jacobtylerwalls I think I'm still missing something critical. When I run Webpack, I get 500 errors on the workflow related templates:
Also:
|
Also, I'm puzzled about installation of cantaloupe? Shouldn't this be part of the README? |
Good catch, it should just be |
Added cantaloupe note in 4830b39. |
@jacobtylerwalls Thanks so much for the updates! I'm still getting build errors in webpack. I'm missing a
|
Good catch, looks a docs regression in d82bb80. I'll open a PR. |
In the installation README (https://github.com/archesproject/arches-for-science/blob/dev/1.1.x/README.md#2-project-configuration), there seems to be some ambiguity about the 'myappname' app added to the
INSTALLED_APPS
config insettings.py
.Should this be removed or updated?
The text was updated successfully, but these errors were encountered: