[2025-jun-17] The SlackDocs mailing lists at https://lists.alienbase.nl/mailman/listinfo have been retired. No one has been using these lists for years and it's time to say goodbye. The list archives remain available at https://scalzi.slackware.nl/mailman/listinfo/slackdocs
[2025-jun-17] The SlackDocs Wiki has moved to a new server, in order to make it more performant.
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| howtos:network_services:weave [2012/09/26 00:56 (UTC)] – moved from the general howtos namespace mfillpot | howtos:network_services:weave [2013/07/09 21:07 (UTC)] (current) – Cosmetic update to use the same example pathname all across the board alienbob | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| * sqlite3 (already supplied by Slackware as well) | * sqlite3 (already supplied by Slackware as well) | ||
| * [[http:// | * [[http:// | ||
| - | |||
| - | Installing a virtualenv package is not really needed since it will be downloaded automatically during the “'' | ||
| The Sync Server code is hosted in a Mercurial repository and since Slackware ships a Mercurial client, that code is easy to check out to a local directory where you continue to build the server binary: < | The Sync Server code is hosted in a Mercurial repository and since Slackware ships a Mercurial client, that code is easy to check out to a local directory where you continue to build the server binary: < | ||
| Line 28: | Line 26: | ||
| * By default, the server stores your sync data in a sqlite database (you can use a real MySQL server database if you want), but it will create the sqlite database in ''/ | * By default, the server stores your sync data in a sqlite database (you can use a real MySQL server database if you want), but it will create the sqlite database in ''/ | ||
| - | * The python-based Sync Server can run all by itself on a configurable port number (5000 by default) which is just fine if you are its only user in your little LAN. But even Mozilla advises to put a real webserver between you and the Sync Server. In Slackware you can use the apache webserver for this. You must install an additional apache module for this to work: [[http:// | + | * The python-based Sync Server can run all by itself on a configurable port number (5000 by default) which is just fine if you are its only user in your little LAN. But even Mozilla advises to put a real webserver between you and the Sync Server. In Slackware you can use the apache webserver for this. You must install an additional apache module for this to work: [[http:// |
| ===== Configuration ===== | ===== Configuration ===== | ||
| Line 57: | Line 55: | ||
| ErrorLog | ErrorLog | ||
| </ | </ | ||
| - | </ | + | </ |
| + | < | ||
| + | Require all granted | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | ServerName sync.myserver.net | ||
| + | DocumentRoot / | ||
| + | WSGIProcessGroup sync | ||
| + | WSGIDaemonProcess sync user=weave group=sync processes=2 threads=25 | ||
| + | WSGIPassAuthorization On | ||
| + | WSGIScriptAlias / / | ||
| + | CustomLog / | ||
| + | ErrorLog | ||
| + | </ | ||
| * Modify your apache server' | * Modify your apache server' | ||