diff --git a/server/frontend/Dockerfile b/server/frontend/Dockerfile new file mode 100644 index 0000000..dd57820 --- /dev/null +++ b/server/frontend/Dockerfile @@ -0,0 +1,6 @@ +FROM python:2.7 +ADD . / +WORKDIR / +RUN pip install -r requirements.txt +CMD python -m "SimpleHTTPServer" 8124 +EXPOSE 8124 diff --git a/client/frontend/add-report.htm b/server/frontend/add-report.htm similarity index 100% rename from client/frontend/add-report.htm rename to server/frontend/add-report.htm diff --git a/client/frontend/core/mockup_data.js b/server/frontend/core/mockup_data.js similarity index 100% rename from client/frontend/core/mockup_data.js rename to server/frontend/core/mockup_data.js diff --git a/client/frontend/core/models.js b/server/frontend/core/models.js similarity index 100% rename from client/frontend/core/models.js rename to server/frontend/core/models.js diff --git a/client/frontend/core/view_models.js b/server/frontend/core/view_models.js similarity index 100% rename from client/frontend/core/view_models.js rename to server/frontend/core/view_models.js diff --git a/client/frontend/crash-reports.htm b/server/frontend/crash-reports.htm similarity index 100% rename from client/frontend/crash-reports.htm rename to server/frontend/crash-reports.htm diff --git a/server/frontend/docker-compose.yml b/server/frontend/docker-compose.yml new file mode 100644 index 0000000..6ca7209 --- /dev/null +++ b/server/frontend/docker-compose.yml @@ -0,0 +1,8 @@ +version: '2' +services: + web: + build: . + ports: + - "8124:8124" + volumes: + - .:/code diff --git a/client/frontend/edit-report.htm b/server/frontend/edit-report.htm similarity index 100% rename from client/frontend/edit-report.htm rename to server/frontend/edit-report.htm diff --git a/client/frontend/index.htm b/server/frontend/index.htm similarity index 100% rename from client/frontend/index.htm rename to server/frontend/index.htm diff --git a/client/frontend/index_files/bootstrap.css b/server/frontend/index_files/bootstrap.css similarity index 100% rename from client/frontend/index_files/bootstrap.css rename to server/frontend/index_files/bootstrap.css diff --git a/client/frontend/index_files/bootstrap.js b/server/frontend/index_files/bootstrap.js similarity index 100% rename from client/frontend/index_files/bootstrap.js rename to server/frontend/index_files/bootstrap.js diff --git a/client/frontend/index_files/dashboard.css b/server/frontend/index_files/dashboard.css similarity index 100% rename from client/frontend/index_files/dashboard.css rename to server/frontend/index_files/dashboard.css diff --git a/client/frontend/index_files/holder.js b/server/frontend/index_files/holder.js similarity index 100% rename from client/frontend/index_files/holder.js rename to server/frontend/index_files/holder.js diff --git a/client/frontend/index_files/ie-emulation-modes-warning.js b/server/frontend/index_files/ie-emulation-modes-warning.js similarity index 100% rename from client/frontend/index_files/ie-emulation-modes-warning.js rename to server/frontend/index_files/ie-emulation-modes-warning.js diff --git a/client/frontend/index_files/ie10-viewport-bug-workaround.css b/server/frontend/index_files/ie10-viewport-bug-workaround.css similarity index 100% rename from client/frontend/index_files/ie10-viewport-bug-workaround.css rename to server/frontend/index_files/ie10-viewport-bug-workaround.css diff --git a/client/frontend/index_files/ie10-viewport-bug-workaround.js b/server/frontend/index_files/ie10-viewport-bug-workaround.js similarity index 100% rename from client/frontend/index_files/ie10-viewport-bug-workaround.js rename to server/frontend/index_files/ie10-viewport-bug-workaround.js diff --git a/client/frontend/index_files/jquery.js b/server/frontend/index_files/jquery.js similarity index 100% rename from client/frontend/index_files/jquery.js rename to server/frontend/index_files/jquery.js diff --git a/client/frontend/index_files/linq.min.js b/server/frontend/index_files/linq.min.js similarity index 100% rename from client/frontend/index_files/linq.min.js rename to server/frontend/index_files/linq.min.js diff --git a/server/frontend/requirements.txt b/server/frontend/requirements.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/server/frontend/requirements.txt @@ -0,0 +1 @@ + diff --git a/server/interface/readme.md b/server/interface/readme.md deleted file mode 100644 index 9c558e3..0000000 --- a/server/interface/readme.md +++ /dev/null @@ -1 +0,0 @@ -.