File sync(Similar to Google drive, Dropbox) using AWS S3.
Note: S3 bucket must be created beforehand.
Python 2.x, pip, AWS account (for S3)
- Put S3 credentials under
etc/conf/settings.py
. Other configurations can also be changed but they are optional. - Move to
<project-dir>
, create virtual environment and then activate it as
$ cd <project-dir>
$ virtualenv .environment
$ source .environment/bin/activate
- Add project to
PYTHONPATH
as
$ export PYTHONPATH="$PYTHONPATH:." # . corresponds to current directory(project-dir)
- Under
<project-dir>
install requirements/dependencies as
$ pip install -r requirements.txt
- Then run sync.py as
$ python tests/sync.py