Using Dropbox to put test images on DL server

I just wanted to let people know about a strategy I have been using for moving images around to my cloud based DL server.

I use Dropbox and a specific folder in my Dropbox account to keep all of my images. This folder is mirrored between my local dev machine and my DL box in the cloud. Then I can download any images, etc to the dropbox folder on my local machine and they are automatically and nearly instantly synced to my DL box.

On my local machine I have an environment variable called DROPBOX_PATH that points to the root of my dropbox installation and I have a similar variable on the server. Then anywhere in my python code I just use os.environ[‘DROPBOX_PATH’] to point to the root of my dropbox tree.

Been working great for me but your mileage my vary.

1 Like