Skip to content

Commit e23f27a

Browse files
committed
basic setup. Nginx static file serve not working yet
1 parent 7da48c4 commit e23f27a

20 files changed

+584
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.env

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Decode Docker deployment
22

33
* Nginx reverse proxy
4-
* Flask in Bjoern container
5-
* Vue JS served from Nginx
4+
* Flask in Bjoern container - from repo: sguldemond/decode_fieldlab
5+
* Vue JS served from Nginx - TODO
66

77
## settings
88

9-
in .ENV file
9+
in .env file (nothing yet)

decode_fieldlab/.gitignore

+108
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
MANIFEST
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a template
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*.cover
47+
.hypothesis/
48+
.pytest_cache/
49+
50+
# Translations
51+
*.mo
52+
*.pot
53+
54+
# Django stuff:
55+
*.log
56+
local_settings.py
57+
db.sqlite3
58+
59+
# Flask stuff:
60+
instance/
61+
.webassets-cache
62+
63+
# Scrapy stuff:
64+
.scrapy
65+
66+
# Sphinx documentation
67+
docs/_build/
68+
69+
# PyBuilder
70+
target/
71+
72+
# Jupyter Notebook
73+
.ipynb_checkpoints
74+
75+
# pyenv
76+
.python-version
77+
78+
# celery beat schedule file
79+
celerybeat-schedule
80+
81+
# SageMath parsed files
82+
*.sage.py
83+
84+
# Environments
85+
.env
86+
.venv
87+
env/
88+
venv/
89+
ENV/
90+
env.bak/
91+
venv.bak/
92+
93+
# Spyder project settings
94+
.spyderproject
95+
.spyproject
96+
97+
# Rope project settings
98+
.ropeproject
99+
100+
# mkdocs documentation
101+
/site
102+
103+
# mypy
104+
.mypy_cache/
105+
106+
# Created by https://www.gitignore.io/api/pycharm
107+
108+
server/.idea/

decode_fieldlab/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# decode_fieldlab
2+
Proof of concept for decode made during Fieldlab hackathon
3+
4+
# Installation
5+
6+
python3 -m venv venv
7+
source venv/bin/activate
8+
pip install -r server/requirements.txt
9+
10+
cd server
11+
python api.py

decode_fieldlab/server/.gitignore

+188
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
MANIFEST
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a template
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*.cover
47+
.hypothesis/
48+
.pytest_cache/
49+
50+
# Translations
51+
*.mo
52+
*.pot
53+
54+
# Django stuff:
55+
*.log
56+
local_settings.py
57+
db.sqlite3
58+
59+
# Flask stuff:
60+
instance/
61+
.webassets-cache
62+
63+
# Scrapy stuff:
64+
.scrapy
65+
66+
# Sphinx documentation
67+
docs/_build/
68+
69+
# PyBuilder
70+
target/
71+
72+
# Jupyter Notebook
73+
.ipynb_checkpoints
74+
75+
# pyenv
76+
.python-version
77+
78+
# celery beat schedule file
79+
celerybeat-schedule
80+
81+
# SageMath parsed files
82+
*.sage.py
83+
84+
# Environments
85+
.env
86+
.venv
87+
env/
88+
venv/
89+
ENV/
90+
env.bak/
91+
venv.bak/
92+
93+
# Spyder project settings
94+
.spyderproject
95+
.spyproject
96+
97+
# Rope project settings
98+
.ropeproject
99+
100+
# mkdocs documentation
101+
/site
102+
103+
# mypy
104+
.mypy_cache/
105+
106+
# Created by https://www.gitignore.io/api/pycharm
107+
108+
### PyCharm ###
109+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
110+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
111+
112+
# User-specific stuff
113+
.idea/**/workspace.xml
114+
.idea/**/tasks.xml
115+
.idea/**/usage.statistics.xml
116+
.idea/**/dictionaries
117+
.idea/**/shelf
118+
119+
# Generated files
120+
.idea/**/contentModel.xml
121+
122+
# Sensitive or high-churn files
123+
.idea/**/dataSources/
124+
.idea/**/dataSources.ids
125+
.idea/**/dataSources.local.xml
126+
.idea/**/sqlDataSources.xml
127+
.idea/**/dynamic.xml
128+
.idea/**/uiDesigner.xml
129+
.idea/**/dbnavigator.xml
130+
131+
# Gradle
132+
.idea/**/gradle.xml
133+
.idea/**/libraries
134+
135+
# Gradle and Maven with auto-import
136+
# When using Gradle or Maven with auto-import, you should exclude module files,
137+
# since they will be recreated, and may cause churn. Uncomment if using
138+
# auto-import.
139+
# .idea/modules.xml
140+
# .idea/*.iml
141+
# .idea/modules
142+
143+
# CMake
144+
cmake-build-*/
145+
146+
# Mongo Explorer plugin
147+
.idea/**/mongoSettings.xml
148+
149+
# File-based project format
150+
*.iws
151+
152+
# IntelliJ
153+
out/
154+
155+
# mpeltonen/sbt-idea plugin
156+
.idea_modules/
157+
158+
# JIRA plugin
159+
atlassian-ide-plugin.xml
160+
161+
# Cursive Clojure plugin
162+
.idea/replstate.xml
163+
164+
# Crashlytics plugin (for Android Studio and IntelliJ)
165+
com_crashlytics_export_strings.xml
166+
crashlytics.properties
167+
crashlytics-build.properties
168+
fabric.properties
169+
170+
# Editor-based Rest Client
171+
.idea/httpRequests
172+
173+
# Android studio 3.1+ serialized cache file
174+
.idea/caches/build_file_checksums.ser
175+
176+
### PyCharm Patch ###
177+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
178+
179+
# *.iml
180+
# modules.xml
181+
# .idea/misc.xml
182+
# *.ipr
183+
184+
# Sonarlint plugin
185+
.idea/sonarlint
186+
187+
188+
# End of https://www.gitignore.io/api/pycharm

0 commit comments

Comments
 (0)