Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 960 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 960 Bytes

PubFolder

PubFolder emulates Dropbox's discontinued public folder.

Why build PubFolder?

We missed Dropbox's public folders. We liked the ability to predict a file's path and the ability to directly link to a file (without viewing it in Dropbox's UI).

Do I have to host the project myself?

No, we have a hosted version at pubfolder.com.

Running the code

  1. Create a virtualenv virtualenv -p python3 venv
  2. Install the requirements pip install -r requirements.txt
  3. Install and run redis
  4. Run the web server with DEBUG=1 BASE_URL=http://localhost:8000/ COOKIE_SECRET=SOME_RND_STRING DBX_APP_KEY=6666666666 DBX_APP_SECRET=7777777777 python server.py replacing environment variable values. You can get the Dropbox app key & secret by creating a new Dropbox App.
  5. If you want to deploy your own production version, remove the DEBUG=1 and set BASE_URL correctly.