1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00
ffsync_ynh/sources
Pierre-Antoine Rault 19c3fbe3f9 Add an index page explaining how to setup, fixes #14
Adding LICENSE and README as well
2016-12-08 12:36:22 +01:00
..
syncserver Add an index page explaining how to setup, fixes #14 2016-12-08 12:36:22 +01:00
.gitignore firefox sync with gunicorn 2015-02-13 18:10:02 +01:00
.travis.yml firefox sync with gunicorn 2015-02-13 18:10:02 +01:00
Dockerfile update version 2014-12-30 17:54:53 +01:00
Makefile update 1.5.2 2015-12-28 06:08:56 -05:00
MANIFEST.in update ffsync 1.5 2014-11-15 16:24:32 +00:00
README.rst update ffsync 1.5 2014-11-15 16:24:32 +00:00
requirements.txt update 1.5.2 2015-12-28 06:08:56 -05:00
setup.py update 1.5.2 2015-12-28 06:08:56 -05:00
syncserver.ini update 1.5.2 2015-12-28 06:08:56 -05:00
syncserver.wsgi update ffsync 1.5 2014-11-15 16:24:32 +00:00

Run-Your-Own Firefox Sync Server
================================

This is an all-in-one package for running a self-hosted Firefox Sync server.
If bundles the "tokenserver" project for authentication and the "syncstorage"
project for storage, produce a single stand-alone webapp.

Complete installation instructions are available at:

   https://docs.services.mozilla.com/howtos/run-sync-1.5.html


Quickstart
----------

The Sync Server software runs using **python 2.6** or later, and the build
process requires **make** and **virtualenv**.  You will need to have the
following packages (or similar, depending on your operating system) installed:

- python2.7
- python2.7-dev
- python-virtualenv
- make

Take a checkout of this repository, then run "make build" to pull in the 
necessary python package dependencies::

    $ git clone https://github.com/mozilla-services/syncserver
    $ cd syncserver
    $ make build

To sanity-check that things got installed correctly, do the following::

    $ make test

Now you can run the server::

    $ make serve

This should start a server on http://localhost:5000/.  

Now go into Firefox's `about:config` page, search for a setting named
"tokenServerURI", and change it to point to your server::

    services.sync.tokenServerURI:  http://localhost:5000/token/1.0/sync/1.5

Firefox should now sync against your local server rather than the default
Mozilla-hosted servers.

For more details on setting up a stable deployment, see:

   https://docs.services.mozilla.com/howtos/run-sync-1.5.html


Customization
-------------

All customization of the server can be done by editing the file
"syncserver.ini", which contains lots of comments to help you on
your way.  Things you might like to change include:

    * The client-visible hostname for your server.  Edit the "public_url"
      key under the [syncstorage] section.

    * The database in which to store sync data.  Edit the "sqluri" setting
      under the [syncstorage] section.


Questions, Feedback
-------------------

- IRC channel: #sync. See http://irc.mozilla.org/
- Mailing list: https://mail.mozilla.org/listinfo/services-dev