Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
warpinfra
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infrastruktur
warpinfra
Compare revisions
master to master
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
infrastruktur/warpinfra
Select target project
No results found
master
Select Git revision
Swap
Target
HoelShare/warpinfra
Select target project
infrastruktur/warpinfra
dray/warpinfra
HoelShare/warpinfra
3 results
master
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (4)
Beispieldaten aus Konfigurationstabelle
· 2e2e157d
Christian Elberfeld
authored
7 years ago
2e2e157d
Serve as Http instead of socket
· 6bdb99f4
Christian Elberfeld
authored
4 years ago
6bdb99f4
Update debian to buster
· 529fc7c4
Christian Elberfeld
authored
4 years ago
529fc7c4
Changed Package to libmariadb-dev
· d34c3322
Christian Elberfeld
authored
4 years ago
d34c3322
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
www/Dockerfile
+2
-2
2 additions, 2 deletions
www/Dockerfile
www/nginx/uwsgi.ini
+1
-1
1 addition, 1 deletion
www/nginx/uwsgi.ini
www/web/warpapi/views.py
+18
-0
18 additions, 0 deletions
www/web/warpapi/views.py
with
21 additions
and
3 deletions
www/Dockerfile
View file @
d34c3322
From
debian:
jessie
From
debian:
buster
# Common Packages
RUN
apt-get update
&&
apt-get
install
-y
\
...
...
@@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \
gettext
\
git
\
nginx
\
libm
ysqlclient
-dev
libm
ariadb
-dev
# Python Packages
RUN
apt-get update
&&
apt-get
install
-y
\
...
...
This diff is collapsed.
Click to expand it.
www/nginx/uwsgi.ini
View file @
d34c3322
...
...
@@ -4,7 +4,7 @@ module=warpzone.wsgi:application
master
=
True
pidfile
=
/tmp/warpinfra.pid
vacuum
=
True
socket
=
/opt/socket/warpinfra.sock
http
=
0.0.0.0:8080
max-requests
=
5000
daemonize
=
/var/log/uwsgi.log
processes
=
10
This diff is collapsed.
Click to expand it.
www/web/warpapi/views.py
View file @
d34c3322
...
...
@@ -3,6 +3,24 @@ from rest_framework.response import Response
from
rest_framework
import
status
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
'
])
def
main
(
request
):
ret
=
{}
...
...
This diff is collapsed.
Click to expand it.