Booting worker with pid: 11
luhsdm
HOBBYOP

2 years ago

Guys, I try to make my project django/pyhton, and my deploy logs send this:

[2024-05-30 19:59:37 +0000] [7] [INFO] Starting gunicorn 22.0.0

[2024-05-30 19:59:37 +0000] [7] [INFO] Listening at: http://0.0.0.0:7326 (7)

[2024-05-30 19:59:37 +0000] [7] [INFO] Using worker: sync

[2024-05-30 19:59:37 +0000] [11] [INFO] Booting worker with pid: 11

At my Procfile> web: gunicorn django_adminlte.wsgi --log-file -

Tha'ts wrong?

I cant see my project at web

5 Replies

luhsdm
HOBBYOP

2 years ago

And I start the link:

bibliotecahogwarts.up.railway.app

Not Found

The requested resource was not found on this server.


luhsdm
HOBBYOP

2 years ago

Failed to load resource: the server responded with a status of 404 ()

Attachments


2 years ago

You see a 404 because you don't have a page registered for the root.


luhsdm
HOBBYOP

2 years ago

Guys, I need some help, why cant have the page?

my urls.py at directory program

def index(request):

return render(request, 'login.html')

def cadastro(request):

return render(request, 'cadastro.html')

def login(request):

return render(request, 'login.html')

def ver_livros(request):

return render(request, 'ver_livros.html')

def ver_emprestimos(request):

return render(request, 'ver_emprestimos.html')

def ver_devolucao(request):

return render(request, 'ver_devolucao.html')

and my urls>from django.contrib import admin

from django.urls import path, include

from adminlte import views

from django.conf.urls.static import static

from django.conf import settings

urlpatterns = [

path('admin/', admin.site.urls),

path('', views.index, name='index'),

path('usuarios/', include('usuarios.urls')),

path('livro/', include('livro.urls')),

path('ver_livros/', views.ver_livros, name='ver_livros'),

path('ver_emprestimos/', views.ver_emprestimos, name='ver_emprestimos'),

] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

I dont know Why its doesn't work


2 years ago

Please see my previous message.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...