diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-09-08 19:59:41 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-09-08 19:59:41 -0400 |
| commit | 50fac2191fbf0dd101d6071242c03dfad295b3ed (patch) | |
| tree | 2624310093338b64faf8e9e946d11be21afd5a63 /examples | |
| parent | b938e3d1d2d108b887c9624249ee7021cfd83a1f (diff) | |
makin okcms okadminview frontend lib workv0.1.41
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/db.json | 15 | ||||
| -rw-r--r-- | examples/index.js | 3 |
2 files changed, 4 insertions, 14 deletions
diff --git a/examples/db.json b/examples/db.json index b6ab96b..5f8554f 100644 --- a/examples/db.json +++ b/examples/db.json @@ -233,20 +233,7 @@ "flagged": true } ], - "flour": [ - { - "id": "test", - "title": "TEST", - "image": { - "uri": "https://ltho.s3.amazonaws.com/okcms-example/7be163d0-080b-11e6-8a7d-f30231d4ec26.png", - "caption": "", - "width": "800", - "height": "800" - }, - "__index": 0, - "dateCreated": "Thu, 21 Apr 2016 21:52:44 GMT" - } - ], + "flour": [], "card": [ { "id": "1", diff --git a/examples/index.js b/examples/index.js index f1fabfa..a4f3ac3 100644 --- a/examples/index.js +++ b/examples/index.js @@ -2,6 +2,7 @@ var okcms = require('..'); var isProduction = process.env.OK_PRODUCTION === 'true' var port = process.env.PORT || 1337; +var path = require('path') var app = okcms.createApp({ @@ -11,6 +12,8 @@ var app = okcms.createApp({ production: isProduction, admin: { + root: path.join(__dirname, '../themes/okcards/public'), + templateRoot: path.join(__dirname, '../themes/okcards/templates'), dashboard: { resources: { card: { |
