Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Renato-TUF
- Mon, 06 Feb 2023 21:57:53
Show More
0
radarsys/asgi.py
radarsys/asgi.py
created
644
+13
0
@@
-0,0
+1,13
1
import os
2
3
from channels.routing import ProtocolTypeRouter
4
from django.core.asgi import get_asgi_application
5
6
os . environ . setdefault ( "DJANGO_SETTINGS_MODULE" , "mysite.settings" )
7
8
application = ProtocolTypeRouter (
9
{
10
"http" : get_asgi_application (),
11
# Just HTTP for now. (We can add other protocols later.)
12
}
13
)
No newline at end of file
0
Dockerfile
Dockerfile
+2
0
@@
-26,6
+26,8
RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommend
26
&& pip install -v --timeout 120 --no-cache-dir ./requests-2.28.2-py3-none-any.whl \
26
&& pip install -v --timeout 120 --no-cache-dir ./requests-2.28.2-py3-none-any.whl \
27
&& pip install -v --timeout 120 --no-cache-dir ./redis-4.4.2-py3-none-any.whl \
27
&& pip install -v --timeout 120 --no-cache-dir ./redis-4.4.2-py3-none-any.whl \
28
&& pip install -v --timeout 120 --no-cache-dir ./graphene_django-3.0.0-py2.py3-none-any.whl \
28
&& pip install -v --timeout 120 --no-cache-dir ./graphene_django-3.0.0-py2.py3-none-any.whl \
29
&& pip install -v --timeout 120 --no-cache-dir ./channels-4.0.0.tar.gz \
30
&& pip install -v --timeout 120 --no-cache-dir ./daphne-4.0.0.tar.gz \
29
#&& pip install -v --timeout 120 -r requirements.txt --no-cache-dir \
31
#&& pip install -v --timeout 120 -r requirements.txt --no-cache-dir \
30
&& apt-get purge -y --auto-remove gcc g++ \
32
&& apt-get purge -y --auto-remove gcc g++ \
31
&& rm -rf /var/lib/apt/lists/*
33
&& rm -rf /var/lib/apt/lists/*
0
radarsys/settings.py
radarsys/settings.py
+1
-1
@@
-85,7
+85,7
TEMPLATES = [
85
]
85
]
86
86
87
WSGI_APPLICATION = 'radarsys.wsgi.application'
87
WSGI_APPLICATION = 'radarsys.wsgi.application'
88
88
ASGI_APPLICATION = 'radarsys.asgi.application'
89
89
90
# Database
90
# Database
91
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases
91
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases
0
requirements.txt
requirements.txt
+2
0
@@
-10,3
+10,5
celery==5.2.7
10
gunicorn==20.1.0
10
gunicorn==20.1.0
11
requests==2.28.2
11
requests==2.28.2
12
redis==4.4.2
12
redis==4.4.2
13
channels==4.0.0
14
daphne==4.0.0
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages