-
Recently, i want to run Everything is fine, such as i can open the The error looks like: i have seen your FAQ here: what-web-server-do-i-need-to-run-jbrowse-2 I know use If you konw Django, i can share you my configs below:
from django.shortcuts import render
def jbrowse(request):
return render(request,"jbrowseapp/jbrowse.html")
from django.urls import path
from jbrowseapp import views
urlpatterns = [
path('jbrowse/',views.jbrowse, name='jbrowse'),
]
{% load static %}
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<link rel="shortcut icon" href="{% static 'jbrowseapp/favicon.ico' %}"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="theme-color" content="#000000"/>
<meta name="description" content="A fast and flexible genome browser"/>
<link rel="manifest" href="{% static 'jbrowseapp/manifest.json' %}"/>
<title>JBrowse</title>
<script defer="defer" src="{% static 'jbrowseapp/static/js/main.f49dd59b.js' %}"></script>
</head>
<body style="overscroll-behavior:none">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html> I really really need your help! THANK YOU!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@BioOmics hi there. When I last evaluated this issue, it was actually not possible to get Django to serve Range requests. This is something that jbrowse relies on for accessing large data files. I would recommend hosting the data files on a server separately from Django https://github.com/cmdcolin/django-jbrowse2-nonworking-example |
Beta Was this translation helpful? Give feedback.
@BioOmics hi there. When I last evaluated this issue, it was actually not possible to get Django to serve Range requests. This is something that jbrowse relies on for accessing large data files. I would recommend hosting the data files on a server separately from Django https://github.com/cmdcolin/django-jbrowse2-nonworking-example