Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

etesync/journal-manager

Repository files navigation

EteSync - Secure Data Sync

IMPORTANT: This repo is deprecated, please use refer to https://github.com/etesync/server/

This is a reusable django app that implements the server side of EteSync

GitHub tag PyPI Build Status Chat on freenode

More info is available on the EteSync website

Quick start

  1. Add "journal" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
    ...
    'journal.apps.JournalConfig',
]
  1. Include the "journal" URLconf in your project's urls.py like this:
from django.conf.urls import include, url

from rest_framework import routers

from journal import views

router = routers.DefaultRouter()
router.register(r'journals', views.JournalViewSet)
router.register(r'journal/(?P<journal>[^/]+)', views.EntryViewSet)

urlpatterns = [
    url(r'^api/v1/', include(router.urls)),
]
  1. Run python manage.py migrate to create the journal models