Created
March 22, 2016 14:01
-
-
Save almet/bc0b91bd384b62564d86 to your computer and use it in GitHub Desktop.
Kinto bundled apps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kinto.includes = kinto.plugins.default_bucket kinto_attachment | |
kinto.attachment.base_url = http://localhost:8000 | |
kinto.attachment.folder = files/{bucket_id}/{collection_id}/ | |
kinto.attachment.keep_old_files = false | |
kinto.attachment.base_path = /tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pre-requesite is to have the last version of kinto-attachment running (see the attached config) | |
# First, go in the "kinto.js" repository, and be sure to have kinto-attachment installed. | |
# Then: | |
$ ../kinto-attachment/.venv/bin/python ../kinto-attachment/scripts/upload.py -s http://0.0.0.0:8888 \ | |
-b tasks -c tasksapp -a token:alexis --unrandomize demo/* | |
# Go in /tmp and run: | |
$ python -m SimpleHTTPServer | |
# That should work! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment