Simple deployment script using rsync for django projects
Project description
=====
Django-Rsync
=====
django-rsync is a simple deployment script using rsync for django projects.
Detailed documentation is in the "docs" directory.
Quick start
-----------
1. Add "django_rsync" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = (
...
'django_rsync',
)
2. Crate the config files for syncing in the folder you want with this format::
upload.ini:
[remote]
user = user
host = host.org
port = 22
dir = /path/to/folder/
[rsync_conf]
filter_file = ./reference/to/rsync/filter.txt
/reference/to/rsync/filter.txt
- media/
- *.pyc
- projectname/
- */migrations
3. Run `python manage.py update_remote uload.ini` to upload the changed files.
4. If it is any change in *.py files restart the project in server.
Django-Rsync
=====
django-rsync is a simple deployment script using rsync for django projects.
Detailed documentation is in the "docs" directory.
Quick start
-----------
1. Add "django_rsync" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = (
...
'django_rsync',
)
2. Crate the config files for syncing in the folder you want with this format::
upload.ini:
[remote]
user = user
host = host.org
port = 22
dir = /path/to/folder/
[rsync_conf]
filter_file = ./reference/to/rsync/filter.txt
/reference/to/rsync/filter.txt
- media/
- *.pyc
- projectname/
- */migrations
3. Run `python manage.py update_remote uload.ini` to upload the changed files.
4. If it is any change in *.py files restart the project in server.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-rsync-0.1.tar.gz
(3.4 kB
view details)
File details
Details for the file django-rsync-0.1.tar.gz
.
File metadata
- Download URL: django-rsync-0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b9770540c4fd8017b8774a06510216025dd4b297beacc17ef2ddf59ef75524fc
|
|
MD5 |
c35d0b89ea1ce04dd3b3495ded893dec
|
|
BLAKE2b-256 |
0aba270ff3cffdd371965c89dd907ab109d06ef286ed6e1562a95820ea15d023
|