summaryrefslogtreecommitdiff
path: root/README
blob: c505b04a8fe1c856acb55bd3177c1b4a2beab482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
This code comes from http://tobyelliott.wordpress.com/2009/09/11/weave-minimal-server/
 
I (dakkar) have only applied some small patches.
 
SERVER SETUP
 
Add the following line to your apache config:
 
  Alias /1.0 /<path to this folder>/index.php/1.0
  Alias /user/1.0 /<path to this folder>/index.php/1.0
  Alias /0.5 /<path to this folder>/index.php/0.5
 
Restart your apache server. Point your browser at https://localhost/1.0/blah/info/collection
Enter "blah" for the username and garbage for the pwd. Auth will fail, but it will 
create the db (you can cancel the subsequent request for auth). You should now see a file 
called weave_db in the directory.
 
You can create and delete users by running the create_user script.
 
CLIENT SETUP
 
in about.config, set extensions.weave.serverURL to https://<your servername>/
 
You can run it under http, but this is insecure and not recommended.