-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Xpirix/frontend_update
Frontend update
- Loading branch information
Showing
2,294 changed files
with
51,703 additions
and
21,540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,15 @@ ADD dockerize/docker/REQUIREMENTS.txt /REQUIREMENTS.txt | |
|
||
RUN pip install --upgrade pip && pip install -r /REQUIREMENTS.txt | ||
|
||
# Install NodeJS and bulma css webpack | ||
RUN apt-get -qq update && apt-get -qq install -y --no-install-recommends wget && \ | ||
wget --no-check-certificate https://deb.nodesource.com/setup_20.x -O /tmp/node.sh && bash /tmp/node.sh && \ | ||
apt-get -qq update && apt-get -qq install -y nodejs build-essential | ||
|
||
WORKDIR /home/web/django_project | ||
COPY qgis-app/package.json /home/web/django_project/package.json | ||
RUN npm install -g [email protected] && npm install -g [email protected] && npm install -g [email protected] && npm install | ||
|
||
RUN mkdir -p /var/log/uwsgi | ||
|
||
WORKDIR /home/web/django_project | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,3 +52,7 @@ uwsgi~=2.0 | |
freezegun~=1.4 | ||
|
||
sentry-sdk~=2.2 | ||
django-webpack-loader~=3.1 | ||
|
||
beautifulsoup4~=4.12 | ||
setuptools~=75.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
rewrite ^/planet$ https://planet.qgis.org permanent; | ||
rewrite ^/styles(.*)$ https://hub.qgis.org/styles$1 permanent; | ||
rewrite ^/geopackages(.*)$ https://hub.qgis.org/geopackages$1 permanent; | ||
rewrite ^/models(.*)$ https://hub.qgis.org/models$1 permanent; | ||
rewrite ^/wavefronts(.*)$ https://hub.qgis.org/wavefronts$1 permanent; | ||
rewrite ^/layerdefinitions(.*)$ https://hub.qgis.org/layerdefinitions$1 permanent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from django.shortcuts import render | ||
from django.utils.translation import gettext_lazy as _ | ||
|
||
|
||
|
||
def docs_publish(request): | ||
""" | ||
Renders the docs_publish page | ||
""" | ||
return render( | ||
request, | ||
"flatpages/docs_publish.html", | ||
{}, | ||
) |
Oops, something went wrong.