Skip to content

Commit 9e6a1b8

Browse files
committed
flake
1 parent 978727c commit 9e6a1b8

6 files changed

Lines changed: 49 additions & 8 deletions

File tree

.env_template

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
DJANGO_SETTINGS_MODULE=donor_reporting_portal.config.settings
2+
DATABASE_URL=psql://postgres:pass@127.0.0.1:5432/donor_reporting_portal
3+
SECRET_KEY=
4+
SESSION_COOKIE_SECURE=False
5+
REDIS_URL=redis://redis:6379/1
6+
HOST=http://localhost:8082
7+
CELERY_TASK_ALWAYS_EAGER=True
8+
DEBUG=True
9+
10+
AZURE_CLIENT_ID=
11+
AZURE_CLIENT_SECRET=
12+
AZURE_TENANT=unicef.org
13+
14+
AZURE_B2C_CLIENT_ID=
15+
AZURE_B2C_CLIENT_SECRET=
16+
AZURE_B2C_TENANT=
17+
18+
VISION_URL=https://unibiapitest.azure-api.net/biapi/v1/
19+
INSIGHT_URL=https://unibiapitest.azure-api.net/biapi/v1/
20+
INSIGHT_SUB_KEY=
21+
22+
SHAREPOINT_USERNAME=
23+
SHAREPOINT_PASSWORD=

CHANGES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Release 0.6 (in development)
2+
----------------
3+
4+
15
Release 0.5
26
----------------
37
* added external reference as dependency

README.rst

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,22 @@ Troubleshoot
3535

3636
Get Started
3737
--------------------
38-
from unicef_security.tasks import sync_business_area
39-
from donor_reporting_portal.apps.report_metadata.tasks import *
38+
* populate your .env file from template .env_template
39+
* python manage.py init-setup --all
4040

41-
sync_business_area()
42-
grant_sync()
41+
42+
Development Release
43+
--------------------
44+
init version
45+
* update requirements (sys - python)
46+
* `make build-base`
47+
48+
develop features
49+
* develop features
50+
* `make build release`
51+
52+
finish version
53+
* `git flow release start`
54+
* update CHANGES
55+
* update version (__init__.py)
56+
* update makefile version

docker/Dockerfile.base

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN apk add --no-cache --virtual .build-deps \
2222
RUN apk add --no-cache --virtual .build-deps-edge \
2323
--repository http://dl-cdn.alpinelinux.org/alpine/edge/main \
2424
--repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
25-
proj-dev \
25+
# proj-dev \
2626
protobuf-c-dev
2727

2828
RUN apk add --no-cache --virtual .postgis-rundeps \
@@ -43,7 +43,7 @@ RUN apk add --no-cache --virtual .postgis-rundeps-edge \
4343
libxslt \
4444
libzmq \
4545
jpeg \
46-
proj \
46+
# proj \
4747
protobuf-c \
4848
zlib
4949

docker/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ DATABASE_URL?=
33
DEVELOP?=1
44
DOCKER_PASS?=
55
DOCKER_USER?=
6-
TARGET?=0.5.0a6
6+
TARGET?=0.6.0a0
77
BASE?=$(shell echo "${TARGET}" | sed "s/\([0-9]\)\.\([0-9]\)\.\(.*\)/\1.\2/g" )
88
# below vars are used internally
99
BUILD_OPTIONS?=

src/donor_reporting_portal/api/views/sharepoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def get_object(self):
115115
filename = self.kwargs.get('filename', None)
116116
try:
117117
filename, *extension = filename.split('__ext__')
118-
if extension and len(extension)==1:
118+
if extension and len(extension) == 1:
119119
extension = extension[0]
120120
else:
121121
extension = 'pdf'

0 commit comments

Comments
 (0)