Upload files to "backend"
This commit is contained in:
parent
7779eb279b
commit
1ba1339e73
3 changed files with 93 additions and 0 deletions
11
backend/config.py
Normal file
11
backend/config.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from pathlib import Path
|
||||
|
||||
BASE_DIR = Path(__file__).resolve().parent
|
||||
DATA_DIR = BASE_DIR / "data"
|
||||
UPLOADS_DIR = DATA_DIR / "uploads"
|
||||
EPT_DIR = DATA_DIR / "ept" # était POTREE_DIR
|
||||
|
||||
UPLOADS_DIR.mkdir(parents=True, exist_ok=True)
|
||||
EPT_DIR.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
SUPPORTED_FORMATS = [".las", ".laz", ".ply", ".xyz", ".pts"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue