This repository has been archived by the owner on Jan 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b5b6de9
commit 23fa252
Showing
91 changed files
with
1,971 additions
and
3,309 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This action uses commitlint to lint commit messages and check for the required guidelines | ||
# as given by the config file commitlint.config.js | ||
|
||
name: Check Commit Messages | ||
|
||
on: | ||
pull_request: | ||
branches: [ develop ] | ||
|
||
jobs: | ||
check-commits: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/[email protected] | ||
- run: yarn add @commitlint/{config-conventional,cli} | ||
- run: yarn run commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD |
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 |
---|---|---|
@@ -1,11 +1,33 @@ | ||
FROM python:2.7 | ||
# getting the base Image | ||
FROM python:3.6 | ||
|
||
MAINTAINER Ana Balica <[email protected]> | ||
|
||
# Updated by | ||
LABEL HUSSAIN="[email protected]" | ||
|
||
EXPOSE 8000 | ||
|
||
# Initializing the working directory | ||
WORKDIR /usr/src | ||
|
||
RUN mkdir portal | ||
|
||
RUN cd portal | ||
|
||
# Re-Initializing the working directory | ||
WORKDIR /usr/src/portal | ||
|
||
# Copy the requirement.txt for installing | ||
COPY requirements/prod.txt /usr/src/portal/requirements/prod.txt | ||
RUN pip install -r requirements/prod.txt | ||
COPY requirements/dev.txt /usr/src/portal/requirements/dev.txt | ||
|
||
# Installing the requirements | ||
RUN pip install -r requirements/dev.txt | ||
|
||
# Installing the GDAL Library | ||
# RUN apt-get install python-gdal | ||
RUN apt-get update | ||
RUN apt-get install -y software-properties-common | ||
RUN add-apt-repository ppa:ubuntugis/ppa | ||
RUN apt-get install -y gdal-bin python-gdal python3-gdal |
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,37 @@ | ||
module.exports = { | ||
parserPreset: 'conventional-changelog-conventionalcommits', | ||
rules: { | ||
'body-leading-blank': [1, 'always'], | ||
'body-max-line-length': [2, 'always', 100], | ||
'footer-leading-blank': [1, 'always'], | ||
'footer-max-line-length': [2, 'always', 100], | ||
'header-max-length': [2, 'always', 100], | ||
'scope-case': [2, 'always', 'lower-case'], | ||
'subject-case': [ | ||
2, | ||
'never', | ||
['sentence-case', 'start-case', 'pascal-case', 'upper-case'] | ||
], | ||
'subject-empty': [2, 'never'], | ||
'subject-full-stop': [2, 'never', '.'], | ||
'type-case': [2, 'always', 'lower-case'], | ||
'type-empty': [2, 'never'], | ||
'type-enum': [ | ||
2, | ||
'always', | ||
[ | ||
'build', | ||
'chore', | ||
'ci', | ||
'docs', | ||
'feat', | ||
'fix', | ||
'perf', | ||
'refactor', | ||
'revert', | ||
'style', | ||
'test' | ||
] | ||
] | ||
} | ||
}; |
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 |
---|---|---|
@@ -1,14 +1,19 @@ | ||
db: | ||
image: postgres:9.4 | ||
ports: | ||
- "5432:5432" | ||
environment: | ||
- POSTGRES_HOST_AUTH_METHOD=trust | ||
|
||
web: | ||
build: . | ||
command: python systers_portal/manage.py runserver 0.0.0.0:8000 | ||
volumes: | ||
- .:/usr/src/portal | ||
- .:/usr/src/portal | ||
ports: | ||
- "8000:8000" | ||
- "8000:8000" | ||
links: | ||
- db | ||
- db | ||
environment: | ||
- DJANGO_SETTINGS_MODULE=systers_portal.settings.docker | ||
|
||
- SECRET_KEY=foobarbaz | ||
- DJANGO_SETTINGS_MODULE=systers_portal.settings.docker |
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 @@ | ||
Database and Contents Copyright (c) 2020 MaxMind, Inc. |
Binary file not shown.
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,3 @@ | ||
Use of this MaxMind product is governed by MaxMind's GeoLite2 End User License Agreement, which can be viewed at https://www.maxmind.com/en/geolite2/eula. | ||
|
||
This database incorporates GeoNames [https://www.geonames.org] geographical data, which is made available under the Creative Commons Attribution 4.0 License. To view a copy of this license, visit https://creativecommons.org/licenses/by/4.0/. |
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 @@ | ||
Latitude and longitude are not precise and should not be used to identify a particular street address or household. |
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
Oops, something went wrong.