summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-11-05 19:58:51 +0100
committerJules Laplace <julescarbon@gmail.com>2017-11-05 19:58:51 +0100
commitf50cdac9b0fe1bf361cd5b421438de26ab559de9 (patch)
tree9c6ceb0bb1bd1b222a5241d35294d8ab797445a3
parent0f8f6b47bfbc16b98b63e5851c928709cb2825f8 (diff)
parent56bda209771121cf8081ab822a9cb11e0149f752 (diff)
Merge branch 'cms' of ghghgh.us:stone-island into cms
-rw-r--r--.env1
-rw-r--r--db.json236
-rw-r--r--index.js17
3 files changed, 241 insertions, 13 deletions
diff --git a/.env b/.env
index 7b4b883f..f2379fba 100644
--- a/.env
+++ b/.env
@@ -4,4 +4,5 @@ S3_BUCKET=marsupial
S3_DIRNAME=stoneisland
OK_USER=stoneisland
OK_PASS=okfocus
+PORT=6060
diff --git a/db.json b/db.json
index 25ab8d4c..cac935d2 100644
--- a/db.json
+++ b/db.json
@@ -3015,6 +3015,223 @@
],
"__index": 43,
"dateCreated": "Wed, 20 Sep 2017 16:11:49 GMT"
+ },
+ {
+ "id": "stone-island-supreme-fw_-017-018-preview",
+ "date": "Mon, 02 Oct 2017 12:00:00 GMT",
+ "title": "Stone Island / Supreme FW_'017 '018 Preview",
+ "subtitle": "",
+ "body": "Anorak in Poly Cover Composite, a matte, colorless and opaque, water and wind resistant, polyurethane film. The garment dyeing technique colors the film without affecting its transparency.\r\n\r\n

Down jacket in Lamy Cover, a hyper light nylon tela, digitally printed with exclusive Supreme artwork and then laminated with an outer polyurethane film. 
The piece is assembled and then directly injected with the finest feathers. The direct injection of feathers enhances the overall lightness of the garment. 
Even the Supreme six panels cap is made in Stone Island Lamy Cover.

\r\n\r\nHooded sweatshirt in cotton fleece. Garment dyed. Snap closure pouch pocket on front. Reflective transfer print of the Stone Island/Supreme Compass at center front. Supreme Reflective transfer print on back. Reflective transfer print patches on hood and lower sleeves. Made exclusively for Supreme.\r\nSweat pants in cotton fleece with reflective transfer print of the Stone Island/Supreme Compass on left thigh. 

\r\n\r\nShort sleeve T-shirt in cotton jersey with all over pigment print, placed Stone Island/Supreme Compass at center front and placed stripes on sleeves. Same fabric in collar. Twenty minute stonewashing. The white colorway has the Stone Island/Supreme Compass and stripes printed on cotton jersey. Made exclusively for Supreme.

\r\n\r\nAvailable starting October 5th in Europe and North America and from October 7th in the Far East - exclusively on the Stone Island App for US and Canada, at Stone Island flagship stores*, on stoneisland.com, and stoneisland.co.uk.
Available on supremenewyork.com and in Supreme** stores.

\r\n\r\n*Milan, Rome, Florence, Verona, Turin, Forte dei Marmi, Riccione, London, Paris, Cannes, Munich, Hamburg, Sylt, Amsterdam, Antwerp, Stockholm, New York, Los Angeles and Seoul.
\r\n\r\n
** New York, Los Angeles, London, Paris, Tokyo, Nagoya, Osaka and Fukuoka.",
+ "link": "",
+ "store": "false",
+ "image": [
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/bf306b90-a760-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "672",
+ "height": "1000",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/bb8c42c0-a760-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "678",
+ "height": "1000",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/b8ded600-a760-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "751",
+ "height": "1000",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/b6aa69d0-a760-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "671",
+ "height": "1000",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/b42370d0-a760-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "675",
+ "height": "1000",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/b0c4dc80-a760-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "676",
+ "height": "1000",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/ada91d90-a760-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "678",
+ "height": "1000",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/a22210d0-a760-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1200",
+ "height": "800",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/9f9ff9d0-a760-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1200",
+ "height": "800",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/839c3140-a760-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "600",
+ "height": "401",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/80244890-a760-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "600",
+ "height": "401",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/31d71e10-a760-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1200",
+ "height": "800",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/62a29290-a760-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1200",
+ "height": "800",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/6d68b5c0-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/502da5b0-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/4cdd9050-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/49e3ff60-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/47400880-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/446215e0-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/41e88a60-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/3d918c50-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/3aaa23d0-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/35848b20-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/32a0cc20-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/2e4efe30-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/2b75ed90-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/2867c330-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/24b876d0-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/1cc56640-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/149f37c0-a75f-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/caee78c0-a75e-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/c3319360-a75e-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/b8d5c030-a75e-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "1000",
+ "height": "667",
+ "caption": ""
+ },
+ {
+ "uri": "https://marsupial.s3.amazonaws.com/stoneisland/b025ef50-a75e-11e7-adc3-e10033f4bfaa.jpg",
+ "width": "600",
+ "height": "400",
+ "caption": ""
+ }
+ ],
+ "__index": 44,
+ "dateCreated": "Mon, 02 Oct 2017 11:03:47 GMT"
}
],
"page": [
@@ -3069,8 +3286,8 @@
],
"store": [
{
- "id": "frost-finish",
- "title": "FROST FINISH",
+ "id": "stone-island",
+ "title": "STONE ISLAND",
"StoreIsOpen": "false",
"ClosedStoreImages": [
{
@@ -3086,17 +3303,17 @@
"FitsLarge": "false",
"BackgroundIsGray": "false",
"CollectionId": "",
- "StoreStatus": "open",
+ "StoreStatus": "closed",
"OpensOn": "",
"DepartmentId": "",
"StoreClosedMessageOne": "",
"StoreClosedMessageTwo": "",
"FittingCodes": "",
- "DepartmentStoreStatus": "open",
+ "DepartmentStoreStatus": "closed",
"Departments": [
{
"text": "FROST FINISH",
- "uri": "PPFRSTS"
+ "uri": ""
}
],
"GroupBy": "none",
@@ -3109,7 +3326,12 @@
"collection": "",
"CollectionId": "",
"DepartmentId": "",
- "Departments": [],
+ "Departments": [
+ {
+ "text": "",
+ "uri": ""
+ }
+ ],
"StoreStatus": "closed",
"DepartmentStoreStatus": "closed",
"GroupBy": "none",
@@ -3118,7 +3340,7 @@
"OpensOn": "",
"StoreClosedMessageOne": "",
"StoreClosedMessageTwo": "",
- "FitsLarge": "false",
+ "FitsLarge": "true",
"FittingCodes": "",
"BackgroundIsGray": "false",
"ClosedStoreImages": [
diff --git a/index.js b/index.js
index a5262624..217d57d4 100644
--- a/index.js
+++ b/index.js
@@ -2,6 +2,8 @@ var okcms = require('okcms')
var assign = require('object-assign')
var path = require('path')
+var port = process.env.PORT || 1337
+
var app = okcms.createApp({
meta: {
@@ -85,8 +87,10 @@ var app = okcms.createApp({
push: {
lib: require("./lib/okpush"),
+ // mongodbUrl: "mongodb://localhost/okpush_stone" + '_dev',
+ // production: false,
mongodbUrl: "mongodb://localhost/okpush_stone",
- production: false,
+ production: true,
apn_development: {
cert: path.join(__dirname, "./lib/okpush/certs/aps_development_cert.pem"),
key: path.join(__dirname, "./lib/okpush/certs/aps_development_key.pem"),
@@ -95,10 +99,10 @@ var app = okcms.createApp({
}
},
apn_production: {
- // cert: path.join(__dirname, "./lib/okpush/certs/aps_production_cert.pem"),
- // key: path.join(__dirname, "./lib/okpush/certs/aps_production_key.pem"),
+ cert: path.join(__dirname, "./lib/okpush/certs/aps_production_cert.pem"),
+ key: path.join(__dirname, "./lib/okpush/certs/aps_production_key.pem"),
connection: {
- // gateway: "gateway.push.apple.com",
+ gateway: "gateway.push.apple.com",
}
},
bundleId: "us.okfoc.stoneisland",
@@ -117,6 +121,7 @@ var app = okcms.createApp({
},
}
-}).listen(1337)
+}).listen(port)
+
+console.log('Server listening at port ' + port + '...');
-console.log('Server listening at port 1337...');