projects
/
angular-mojolicious.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8fa3d09
)
prefix all shell commands with prompt $
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 9 Dec 2010 16:24:01 +0000
(17:24 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 9 Dec 2010 16:24:01 +0000
(17:24 +0100)
README
patch
|
blob
|
history
diff --git
a/README
b/README
index
096fb1e
..
b7af6eb
100644
(file)
--- a/
README
+++ b/
README
@@
-37,11
+37,12
@@
which can be used to provide data using external stand-alone scripts.
Replication of data between instances using angular REST API can be done with:
# create local CouchDB database
Replication of data between instances using angular REST API can be done with:
# create local CouchDB database
- curl -X PUT http://localhost:5984/test
+ $ curl -X PUT http://localhost:5984/demo
+ {"ok":true}
- ./angular-replicate.pl \
+
$
./angular-replicate.pl \
http://dpavlin.getangular.com/data/conference \
http://dpavlin.getangular.com/data/conference \
- http://localhost:3000/data/
test
+ http://localhost:3000/data/
demo
Replication is currently good only for initial import of data since it doesn't
support incremental replication and dies if data is allready present.
Replication is currently good only for initial import of data since it doesn't
support incremental replication and dies if data is allready present.
@@
-49,18
+50,18
@@
support incremental replication and dies if data is allready present.
Installation:
Installation:
- git submodule init
- git submodule update
+
$
git submodule init
+
$
git submodule update
Optionally build angular to get single file download
Optionally build angular to get single file download
- cd public/angular
- rake compile
- cd -
+
$
cd public/angular
+
$
rake compile
+
$
cd -
Start it with:
Start it with:
- ./angular-server.pl daemon --reload
+
$
./angular-server.pl daemon --reload
Angular examples available:
Angular examples available:
@@
-69,7
+70,7
@@
Angular examples available:
- template/conferece - conference submission example using mojolicious REST API server
- public/app/conference - new application layout with latest example confernce submission
- template/conferece - conference submission example using mojolicious REST API server
- public/app/conference - new application layout with latest example confernce submission
- curl -X PUT http://localhost:5984/conference/_design/symposium \
+
$
curl -X PUT http://localhost:5984/conference/_design/symposium \
-d @public/app/conference/_design/symposium
-d @public/app/conference/_design/symposium