Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Portic
gazetteer
Commits
2eb705c8
Commit
2eb705c8
authored
Jun 18, 2020
by
Christine Plumejeaud
Browse files
Add agpl v3 licence and fixed a detail for deployment of the api in wsgi file.
parent
9fabf122
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
LICENSE
0 → 100644
View file @
2eb705c8
This diff is collapsed.
Click to expand it.
porticgaz.py
View file @
2eb705c8
...
...
@@ -15,7 +15,7 @@ from flask import Flask, jsonify, abort, render_template,url_for,request, make_r
from
flask_cors
import
CORS
,
cross_origin
from
flask_caching
import
Cache
import
numpy
as
np
#
import numpy as np
import
csv
import
json
import
io
...
...
@@ -36,7 +36,7 @@ CORS(app)
port
=
'80'
postgresport
=
'543
3
'
postgresport
=
'543
2
'
database
=
'portic_v4'
names
=
dict
()
...
...
porticgaz.wsgi
View file @
2eb705c8
...
...
@@ -3,5 +3,5 @@
import
sys
import
os
,
os
.
path
sys
.
path
.
append
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'.'
)))
from
.
import
app
as
application
sys
.
path
.
append
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'.
.
'
)))
from
gazetteer
import
app
as
application
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment