Use a different machine learning folder per tenant
We're using the "tenants" subfolder for consistency with the folder structure we use in ActiveStorage and because some CONSUL installations might have folders inside the `data` folder which might conflict with the folders created by tenants. Note that the Python scripts have a lot of duplication, meaning we need to change all of them. I'm not refactoring them because I'm not familiar enough with these scripts (or with Python, for that matter). Also note that the scripts folder is still shared by all tenants, meaning it isn't possible to have different scripts for different tenants. I'm not sure how this situation should be handled; again, I'm not familiar enough with this feature.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -25,6 +25,7 @@ tmp/
|
||||
/public/tenants/*/sitemap.xml
|
||||
/public/assets/
|
||||
/public/machine_learning/data/
|
||||
/public/tenants/*/machine_learning/data/
|
||||
|
||||
# Bundler config, cache and gemsets
|
||||
.bundle/
|
||||
|
||||
Reference in New Issue
Block a user