Zai commited on
Commit
e339588
Β·
1 Parent(s): 1d214ea
This view is limited to 50 files because it contains too many changes. Β  See raw diff
Files changed (50) hide show
  1. Dockerfile +3 -2
  2. Graph2plan +0 -1
  3. {House β†’ Interface/House}/__init__.py +0 -0
  4. {House β†’ Interface/House}/__pycache__/__init__.cpython-311.pyc +0 -0
  5. {House β†’ Interface/House}/__pycache__/__init__.cpython-37.pyc +0 -0
  6. {House β†’ Interface/House}/__pycache__/settings.cpython-311.pyc +0 -0
  7. {House β†’ Interface/House}/__pycache__/settings.cpython-37.pyc +0 -0
  8. {House β†’ Interface/House}/__pycache__/urls.cpython-311.pyc +0 -0
  9. {House β†’ Interface/House}/__pycache__/urls.cpython-37.pyc +0 -0
  10. {House β†’ Interface/House}/__pycache__/wsgi.cpython-37.pyc +0 -0
  11. {House β†’ Interface/House}/asgi.py +0 -0
  12. {House β†’ Interface/House}/settings.py +0 -0
  13. {House β†’ Interface/House}/urls.py +0 -0
  14. {House β†’ Interface/House}/wsgi.py +0 -0
  15. {Houseweb β†’ Interface/Houseweb}/__init__.py +0 -0
  16. {Houseweb β†’ Interface/Houseweb}/__pycache__/__init__.cpython-311.pyc +0 -0
  17. {Houseweb β†’ Interface/Houseweb}/__pycache__/__init__.cpython-37.pyc +0 -0
  18. {Houseweb β†’ Interface/Houseweb}/__pycache__/create.cpython-37.pyc +0 -0
  19. {Houseweb β†’ Interface/Houseweb}/__pycache__/floorplan2.cpython-37.pyc +0 -0
  20. {Houseweb β†’ Interface/Houseweb}/__pycache__/network.cpython-37.pyc +0 -0
  21. {Houseweb β†’ Interface/Houseweb}/__pycache__/utils.cpython-37.pyc +0 -0
  22. {Houseweb β†’ Interface/Houseweb}/__pycache__/utils1.cpython-37.pyc +0 -0
  23. {Houseweb β†’ Interface/Houseweb}/__pycache__/views.cpython-311.pyc +0 -0
  24. {Houseweb β†’ Interface/Houseweb}/__pycache__/views.cpython-37.pyc +0 -0
  25. {Houseweb β†’ Interface/Houseweb}/admin.py +0 -0
  26. {Houseweb β†’ Interface/Houseweb}/apps.py +0 -0
  27. {Houseweb β†’ Interface/Houseweb}/migrations/__init__.py +0 -0
  28. {Houseweb β†’ Interface/Houseweb}/models.py +0 -0
  29. {Houseweb β†’ Interface/Houseweb}/tests.py +0 -0
  30. {Houseweb β†’ Interface/Houseweb}/views.py +0 -0
  31. {Img β†’ Interface/Img}/data.mat.png +0 -0
  32. {Img β†’ Interface/Img}/data_test_converted.png +0 -0
  33. {Img β†’ Interface/Img}/data_train_converted.png +0 -0
  34. {Img β†’ Interface/Img}/interface.jpg +0 -0
  35. {Img β†’ Interface/Img}/paper.png +0 -0
  36. {align_fp β†’ Interface/align_fp}/align_adjacent_room3.m +0 -0
  37. {align_fp β†’ Interface/align_fp}/align_fp.m +0 -0
  38. {align_fp β†’ Interface/align_fp}/align_neighbor.m +0 -0
  39. {align_fp β†’ Interface/align_fp}/align_with_boundary.m +0 -0
  40. {align_fp β†’ Interface/align_fp}/find_close_seg.m +0 -0
  41. {align_fp β†’ Interface/align_fp}/find_room_order.m +0 -0
  42. {align_fp β†’ Interface/align_fp}/get_entrance_space.m +0 -0
  43. {align_fp β†’ Interface/align_fp}/get_room_boundary.m +0 -0
  44. {align_fp β†’ Interface/align_fp}/regularize_fp.m +0 -0
  45. {align_fp β†’ Interface/align_fp}/shrink_box.m +0 -0
  46. Interface/db.sqlite3 +0 -0
  47. Interface/manage.py +21 -0
  48. {model β†’ Interface/model}/__pycache__/_floorplan2.cpython-37.pyc +0 -0
  49. {model β†’ Interface/model}/__pycache__/add_archs.cpython-37.pyc +0 -0
  50. {model β†’ Interface/model}/__pycache__/box_utils.cpython-37.pyc +0 -0
Dockerfile CHANGED
@@ -25,7 +25,8 @@ COPY . /code
25
 
26
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
27
 
28
- COPY . .
 
29
 
30
- # Run app.py when the container launches
31
  CMD ["python", "manage.py", "runserver", "0.0.0.0:7860"]
 
25
 
26
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
27
 
28
+ # Assuming your Django project is inside the "Interface" folder
29
+ WORKDIR /code/Interface
30
 
31
+ # Run the Django development server
32
  CMD ["python", "manage.py", "runserver", "0.0.0.0:7860"]
Graph2plan DELETED
@@ -1 +0,0 @@
1
- Subproject commit 3c6af231f52c38afaf4a0025ceffbc2e5afa7ada
 
 
{House β†’ Interface/House}/__init__.py RENAMED
File without changes
{House β†’ Interface/House}/__pycache__/__init__.cpython-311.pyc RENAMED
File without changes
{House β†’ Interface/House}/__pycache__/__init__.cpython-37.pyc RENAMED
File without changes
{House β†’ Interface/House}/__pycache__/settings.cpython-311.pyc RENAMED
File without changes
{House β†’ Interface/House}/__pycache__/settings.cpython-37.pyc RENAMED
File without changes
{House β†’ Interface/House}/__pycache__/urls.cpython-311.pyc RENAMED
File without changes
{House β†’ Interface/House}/__pycache__/urls.cpython-37.pyc RENAMED
File without changes
{House β†’ Interface/House}/__pycache__/wsgi.cpython-37.pyc RENAMED
File without changes
{House β†’ Interface/House}/asgi.py RENAMED
File without changes
{House β†’ Interface/House}/settings.py RENAMED
File without changes
{House β†’ Interface/House}/urls.py RENAMED
File without changes
{House β†’ Interface/House}/wsgi.py RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/__init__.py RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/__pycache__/__init__.cpython-311.pyc RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/__pycache__/__init__.cpython-37.pyc RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/__pycache__/create.cpython-37.pyc RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/__pycache__/floorplan2.cpython-37.pyc RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/__pycache__/network.cpython-37.pyc RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/__pycache__/utils.cpython-37.pyc RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/__pycache__/utils1.cpython-37.pyc RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/__pycache__/views.cpython-311.pyc RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/__pycache__/views.cpython-37.pyc RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/admin.py RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/apps.py RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/migrations/__init__.py RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/models.py RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/tests.py RENAMED
File without changes
{Houseweb β†’ Interface/Houseweb}/views.py RENAMED
File without changes
{Img β†’ Interface/Img}/data.mat.png RENAMED
File without changes
{Img β†’ Interface/Img}/data_test_converted.png RENAMED
File without changes
{Img β†’ Interface/Img}/data_train_converted.png RENAMED
File without changes
{Img β†’ Interface/Img}/interface.jpg RENAMED
File without changes
{Img β†’ Interface/Img}/paper.png RENAMED
File without changes
{align_fp β†’ Interface/align_fp}/align_adjacent_room3.m RENAMED
File without changes
{align_fp β†’ Interface/align_fp}/align_fp.m RENAMED
File without changes
{align_fp β†’ Interface/align_fp}/align_neighbor.m RENAMED
File without changes
{align_fp β†’ Interface/align_fp}/align_with_boundary.m RENAMED
File without changes
{align_fp β†’ Interface/align_fp}/find_close_seg.m RENAMED
File without changes
{align_fp β†’ Interface/align_fp}/find_room_order.m RENAMED
File without changes
{align_fp β†’ Interface/align_fp}/get_entrance_space.m RENAMED
File without changes
{align_fp β†’ Interface/align_fp}/get_room_boundary.m RENAMED
File without changes
{align_fp β†’ Interface/align_fp}/regularize_fp.m RENAMED
File without changes
{align_fp β†’ Interface/align_fp}/shrink_box.m RENAMED
File without changes
Interface/db.sqlite3 ADDED
File without changes
Interface/manage.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python
2
+ """Django's command-line utility for administrative tasks."""
3
+ import os
4
+ import sys
5
+
6
+
7
+ def main():
8
+ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'House.settings')
9
+ try:
10
+ from django.core.management import execute_from_command_line
11
+ except ImportError as exc:
12
+ raise ImportError(
13
+ "Couldn't import Django. Are you sure it's installed and "
14
+ "available on your PYTHONPATH environment variable? Did you "
15
+ "forget to activate a virtual environment?"
16
+ ) from exc
17
+ execute_from_command_line(sys.argv)
18
+
19
+
20
+ if __name__ == '__main__':
21
+ main()
{model β†’ Interface/model}/__pycache__/_floorplan2.cpython-37.pyc RENAMED
File without changes
{model β†’ Interface/model}/__pycache__/add_archs.cpython-37.pyc RENAMED
File without changes
{model β†’ Interface/model}/__pycache__/box_utils.cpython-37.pyc RENAMED
File without changes