Monday, January 27, 2014

setup erlang based couchapp on FreeBSD

with erica:
$ erica create-webapp appid=couch9
$ tree couch9 
couch9
|-- _ddoc
|   |-- rewrites.json
|   `-- validate_doc_update.js
|-- app.webapp
|-- img
|   |-- favicon.ico
|   `-- promo
|       |-- icon_128.png
|       |-- icon_16.png
|       |-- icon_48.png
|       |-- icon_96.png
|       |-- promo_small.png
|       `-- screenshot1.png
`-- index.html
$ erica create-app appid=couch10
$ tree couch10
couch10
|-- .couchapprc
|-- _attachments
|-- _id
|-- language
|-- lists
|-- shows
`-- views
    `-- by_type
        `-- map.js

No comments: