I would like like to better understand how customer file storage works.
On https://docs.beefree.io/connect-your-own-file-storage/ it is stated:
In order to let BEE consume your FSP (File system provider) API, you will need to provide a Base URL to reach the API. Where do you configure this Base URL to be called? I don’t see this in the document anywhere.
I have tried to install the following demo:
but I’m getting the following python error:
bee-plugin-django-fsp akatakka$ python manage.py migrate Traceback (most recent call last): File "manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line utility.execute() File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 308, in execute settings.INSTALLED_APPS File "/Library/Python/2.7/site-packages/django/conf/__init__.py", line 56, in __getattr__ self._setup(name) File "/Library/Python/2.7/site-packages/django/conf/__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "/Library/Python/2.7/site-packages/django/conf/__init__.py", line 110, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: No module named settings
We do not currently have a Java demo, but may have a NodeJS sample within a few weeks. You can save the base URL in the developer portal settings. If you do not view the option under file storage, then you may not be subscribed to a paid plan. Custom file storage is only available on paid plans.
I see the place to configure the base URL now.
I’ll start writing the Java apis. If that node demo becomes available that would be useful too.
Thanks for your response!
ps This info should be provided on https://docs.beefree.io/connect-your-own-file-storage/ imo
Ah just found it under Authentication. I would have preferred to read this earlier in the document so that I could understand the mechanism that we hook into the APIs first.