Skip to content

Commit

Permalink
config dacc server
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardoHernany committed Oct 18, 2024
1 parent 9b8dab3 commit 025747b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.worker
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ WORKDIR /home/autodockgpu/AutoDock-GPU
ENV GPU_INCLUDE_PATH /usr/local/cuda/include
ENV GPU_LIBRARY_PATH /usr/local/cuda/lib64

RUN make DEVICE=CUDA NUMWI=128
RUN make DEVICE=CUDA NUMWI=128 TARGETS="80"

FROM autodockbuild as mglinstall

Expand Down
Binary file modified djangoAPI/__pycache__/settings.cpython-39.pyc
Binary file not shown.
Binary file modified djangoAPI/__pycache__/urls.cpython-39.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions djangoAPI/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
'NAME': config("POSTGRES_DB"),
'USER': config("POSTGRES_USER"),
'PASSWORD': config("POSTGRES_PASSWORD"),
'HOST': '172.26.0.2',
'HOST': 'db',
'PORT': '5432',
}
}
Expand Down Expand Up @@ -187,4 +187,4 @@
EMAIL_HOST_PASSWORD=config("EMAIL_HOST_PASSWORD")
EMAIL_USE_TLS=config("EMAIL_USE_TLS")
EMAIL_PORT=config("EMAIL_PORT")
EMAIL_HOST=config("EMAIL_HOST")
EMAIL_HOST=config("EMAIL_HOST")
16 changes: 8 additions & 8 deletions djangoAPI/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
from fiocruz import views

router = routers.DefaultRouter()
router.register(r'back/process-plasmodocking', views.ProcessPlasmodockingViewSet)
router.register(r'Plasmodocking/back/process-plasmodocking', views.ProcessPlasmodockingViewSet)

urlpatterns = [
path('', include(router.urls)),
path('admin/', admin.site.urls),
path('api-auth/', include('rest_framework.urls')),
path('back/api_delete/<int:idItem>/', views.api_delete, name='api_delete'),
path('back/api_download/<int:id>/', views.download_file, name='api_download'),
path('back/get_resultado/<int:idItem>/', views.get_resultado, name='get_resultado'),
path('Plasmodocking/back/api_delete/<int:idItem>/', views.api_delete, name='api_delete'),
path('Plasmodocking/back/api_download/<int:id>/', views.download_file, name='api_download'),
path('Plasmodocking/back/get_resultado/<int:idItem>/', views.get_resultado, name='get_resultado'),
path('macro/', views.macro, name='macro'),
path('macro_SR/', views.macro_SR, name='macro_SR'),
path('macro_ComRedocking_save/', views.macro_save_ComRedocking, name='macro_save_CR'),
path('macro_SemRedocking_save/', views.macro_save_SemRedocking, name='macro_save_SR'),
path('back/create-user/', views.CreateUserView.as_view(), name='create-user'),
path('back/authenticate', views.AuthenticateUser.as_view(), name='authenticate'),
path('back/user', views.GetUserDetails.as_view(), name='get_user_details'),
path('back/view3d/<str:username>/<str:nome_process>/<str:receptor_name>/<str:ligante_code>/', views.view3d, name='view3d'),
path('Plasmodocking/back/create-user/', views.CreateUserView.as_view(), name='create-user'),
path('Plasmodocking/back/authenticate', views.AuthenticateUser.as_view(), name='authenticate'),
path('Plasmodocking/back/user', views.GetUserDetails.as_view(), name='get_user_details'),
path('Plasmodocking/back/view3d/<str:username>/<str:nome_process>/<str:receptor_name>/<str:ligante_code>/', views.view3d, name='view3d'),

]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Binary file modified fiocruz/__pycache__/views.cpython-39.pyc
Binary file not shown.

0 comments on commit 025747b

Please sign in to comment.