Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • infrastruktur/warpinfra
  • dray/warpinfra
  • HoelShare/warpinfra
3 results
Show changes
Commits on Source (4)
From debian:jessie From debian:buster
# Common Packages # Common Packages
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
...@@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \ ...@@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \
gettext \ gettext \
git \ git \
nginx \ nginx \
libmysqlclient-dev libmariadb-dev
# Python Packages # Python Packages
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
......
...@@ -4,7 +4,7 @@ module=warpzone.wsgi:application ...@@ -4,7 +4,7 @@ module=warpzone.wsgi:application
master=True master=True
pidfile=/tmp/warpinfra.pid pidfile=/tmp/warpinfra.pid
vacuum=True vacuum=True
socket=/opt/socket/warpinfra.sock http=0.0.0.0:8080
max-requests=5000 max-requests=5000
daemonize=/var/log/uwsgi.log daemonize=/var/log/uwsgi.log
processes = 10 processes = 10
...@@ -3,6 +3,24 @@ from rest_framework.response import Response ...@@ -3,6 +3,24 @@ from rest_framework.response import Response
from rest_framework import status from rest_framework import status
from warpapi.models import Information from warpapi.models import Information
# Beispieldaten aus Konfigurationstabelle
# INSERT INTO "warpapi_information" VALUES(1,'api','','0.13');
# INSERT INTO "warpapi_information" VALUES(2,'space','','warpzone');
# INSERT INTO "warpapi_information" VALUES(3,'logo','','https://www.warpzone.ms/api/warpzone_logo.png');
# INSERT INTO "warpapi_information" VALUES(4,'url','','https://www.warpzone.ms');
# INSERT INTO "warpapi_information" VALUES(5,'address','location','warpzone e.V., Am Hawerkamp 31, 48155 Muenster, Germany');
# INSERT INTO "warpapi_information" VALUES(6,'lon','location','7.638216');
# INSERT INTO "warpapi_information" VALUES(7,'lat','location','51.943376');
# INSERT INTO "warpapi_information" VALUES(8,'phone','contact','+49 251 39500271');
# INSERT INTO "warpapi_information" VALUES(9,'twitter','contact','@warpzone_ms');
# INSERT INTO "warpapi_information" VALUES(10,'email','contact','office@warpzone.ms');
# INSERT INTO "warpapi_information" VALUES(11,'irc','contact','irc://irc.freenode.net/#warpzone');
# INSERT INTO "warpapi_information" VALUES(12,'ml','contact','warpzone@warpzone.ms');
# INSERT INTO "warpapi_information" VALUES(13,'issue_mail','contact','c3BhY2VhcGlAd2FycHpvbmUubXM=');
# INSERT INTO "warpapi_information" VALUES(14,'open','icon','https://www.warpzone.ms/api/warpzone_open.png');
# INSERT INTO "warpapi_information" VALUES(15,'closed','icon','https://www.warpzone.ms/api/warpzone_closed.png');
# INSERT INTO "warpapi_information" VALUES(16,'issue_mail','issue_report_channels','');
@api_view(['GET']) @api_view(['GET'])
def main(request): def main(request):
ret= {} ret= {}
......