File tree Expand file tree Collapse file tree
src/donor_reporting_portal/api/views Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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=
Original file line number Diff line number Diff line change 1+ Release 0.6 (in development)
2+ ----------------
3+
4+
15Release 0.5
26----------------
37* added external reference as dependency
Original file line number Diff line number Diff line change @@ -35,8 +35,22 @@ Troubleshoot
3535
3636Get 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
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ RUN apk add --no-cache --virtual .build-deps \
2222RUN 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
2828RUN 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
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ DATABASE_URL?=
33DEVELOP? =1
44DOCKER_PASS? =
55DOCKER_USER? =
6- TARGET? =0.5.0a6
6+ TARGET? =0.6.0a0
77BASE? =$(shell echo "${TARGET}" | sed "s/\([0-9]\) \.\([0-9]\)\.\(.*\)/\1.\2/g" )
88# below vars are used internally
99BUILD_OPTIONS? =
Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments