Skip to content

Commit 0352d10

Browse files
authored
Merge pull request #10 from OpenGeoscience/init-app
initial web-app commit
2 parents 5b1ab1d + 7b43b65 commit 0352d10

250 files changed

Lines changed: 68940 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
end_of_line = lf
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
charset = utf-8
9+
10+
[*.py]
11+
indent_size = 4
12+
max_line_length = 100
13+
14+
[*.html]
15+
indent_size = 2
16+
17+
[*.css]
18+
indent_size = 2
19+
20+
[{*.yml,*.yaml}]
21+
indent_size = 2
22+
23+
[*.ini]
24+
indent_size = 4
25+
26+
[*.sh]
27+
indent_size = 2

.github/workflows/ci.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: ci
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
lint:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: hoverkraft-tech/compose-action@v2.0.1
14+
with:
15+
compose-file: |
16+
docker-compose.yml
17+
docker-compose.override.yml
18+
- run: |
19+
docker compose exec django tox -e lint
20+
21+
lint-client:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v3
25+
- uses: actions/setup-node@v3
26+
- run: cd client && npm i && npm run lint
27+
28+
pytest:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v3
32+
- uses: hoverkraft-tech/compose-action@v2.0.1
33+
with:
34+
compose-file: |
35+
docker-compose.yml
36+
docker-compose.override.yml
37+
- run: |
38+
docker compose exec django tox -e test
39+
40+
check-migrations:
41+
runs-on: ubuntu-latest
42+
steps:
43+
- uses: actions/checkout@v3
44+
- uses: hoverkraft-tech/compose-action@v2.0.1
45+
with:
46+
compose-file: |
47+
docker-compose.yml
48+
docker-compose.override.yml
49+
- run: |
50+
docker compose exec django tox -e check-migrations

.gitignore

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
.terraform/
2+
postgres/*
3+
minio/*
4+
rabbitmq/*
5+
.vscode/
6+
staticfiles/
7+
**/.DS_Store
8+
# osmnx data cache folder
9+
cache
10+
11+
# Created by https://www.gitignore.io/api/django
12+
# Edit at https://www.gitignore.io/?templates=django
13+
14+
### Django ###
15+
*.log
16+
*.pot
17+
*.pyc
18+
__pycache__/
19+
local_settings.py
20+
db.sqlite3
21+
db.sqlite3-journal
22+
media
23+
24+
# If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/
25+
# in your Git repository. Update and uncomment the following line accordingly.
26+
# <django-project-name>/staticfiles/
27+
28+
### Django.Python Stack ###
29+
# Byte-compiled / optimized / DLL files
30+
*.py[cod]
31+
*$py.class
32+
33+
# C extensions
34+
*.so
35+
36+
# Distribution / packaging
37+
.Python
38+
build/
39+
develop-eggs/
40+
dist/
41+
downloads/
42+
eggs/
43+
.eggs/
44+
lib/
45+
lib64/
46+
parts/
47+
sdist/
48+
var/
49+
wheels/
50+
pip-wheel-metadata/
51+
share/python-wheels/
52+
*.egg-info/
53+
.installed.cfg
54+
*.egg
55+
MANIFEST
56+
57+
# PyInstaller
58+
# Usually these files are written by a python script from a template
59+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
60+
*.manifest
61+
*.spec
62+
63+
# Installer logs
64+
pip-log.txt
65+
pip-delete-this-directory.txt
66+
67+
# Unit test / coverage reports
68+
htmlcov/
69+
.tox/
70+
.nox/
71+
.coverage
72+
.coverage.*
73+
.cache
74+
nosetests.xml
75+
coverage.xml
76+
*.cover
77+
.hypothesis/
78+
.pytest_cache/
79+
80+
# Translations
81+
*.mo
82+
83+
# Scrapy stuff:
84+
.scrapy
85+
86+
# Sphinx documentation
87+
docs/_build/
88+
89+
# PyBuilder
90+
target/
91+
92+
# pyenv
93+
.python-version
94+
95+
# pipenv
96+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
97+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
98+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
99+
# install all needed dependencies.
100+
#Pipfile.lock
101+
102+
# celery beat schedule file
103+
celerybeat-schedule
104+
105+
# SageMath parsed files
106+
*.sage.py
107+
108+
# Spyder project settings
109+
.spyderproject
110+
.spyproject
111+
112+
# Rope project settings
113+
.ropeproject
114+
115+
# Mr Developer
116+
.mr.developer.cfg
117+
.project
118+
.pydevproject
119+
120+
# mkdocs documentation
121+
/site
122+
123+
# mypy
124+
.mypy_cache/
125+
.dmypy.json
126+
dmypy.json
127+
128+
# Pyre type checker
129+
.pyre/
130+
131+
# End of https://www.gitignore.io/api/django
132+
133+
134+
# Add direnv support
135+
.envrc

0 commit comments

Comments
 (0)