Browse Source

support dev deployment

pull/781/head
Joe Germuska 10 years ago
parent
commit
5ecc053fe4
  1. 4
      config.json
  2. 2
      website/templates/_demo.html
  3. 2
      website/templates/base.html
  4. 2
      website/templates/examples/houston/index.html
  5. 2
      website/templates/examples/republican/index.html
  6. 2
      website/templates/examples/shit-people-say/index.html
  7. 2
      website/templates/examples/user-interface/index.html

4
config.json

@ -176,7 +176,7 @@
// - run usemin on all html in build/website // - run usemin on all html in build/website
// - sync build/website with bucket // - sync build/website with bucket
"deploy": { "deploy": {
"stg": {"bucket": "timeline.knilab.com"}, "stg": {"bucket": "timeline.knilab.com", "usemin_context": {"cdn": "dev"}},
"prd": {"bucket": "timeline.knightlab.com"} "prd": {"bucket": "timeline.knightlab.com", "usemin_context": {"cdn": "latest"}}
} }
} }

2
website/templates/_demo.html

@ -14,7 +14,7 @@
font: 'NewsCycle-Merriweather', font: 'NewsCycle-Merriweather',
}; };
</script> </script>
<!-- build:js http://cdn.knightlab.com/libs/timeline/latest/js/storyjs-embed.js --> <!-- build:js http://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript"> <script type="application/javascript">
var embed_path = "/build/" var embed_path = "/build/"
</script> </script>

2
website/templates/base.html

@ -144,7 +144,7 @@
<script type="text/javascript"> <script type="text/javascript">
var generator_embed_path = "http://cdn.knightlab.com/libs/timeline/latest/embed/index.html"; var generator_embed_path = "http://cdn.knightlab.com/libs/timeline/latest/embed/index.html";
</script> </script>
<!-- build:js http://cdn.knightlab.com/libs/timeline/latest/js/storyjs-embed-generator.js --> <!-- build:js http://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed-generator.js -->
<script type="text/javascript"> <script type="text/javascript">
var generator_embed_path = "/source/embed/index.html"; var generator_embed_path = "/source/embed/index.html";
</script> </script>

2
website/templates/examples/houston/index.html

@ -41,7 +41,7 @@
font: 'Bevan-PotanoSans' font: 'Bevan-PotanoSans'
} }
</script> </script>
<!-- build:js http://cdn.knightlab.com/libs/timeline/latest/js/storyjs-embed.js --> <!-- build:js http://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript"> <script type="application/javascript">
var embed_path = "/build/" var embed_path = "/build/"
</script> </script>

2
website/templates/examples/republican/index.html

@ -41,7 +41,7 @@
font: 'PT' font: 'PT'
} }
</script> </script>
<!-- build:js http://cdn.knightlab.com/libs/timeline/latest/js/storyjs-embed.js --> <!-- build:js http://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript"> <script type="application/javascript">
var embed_path = "/build/" var embed_path = "/build/"
</script> </script>

2
website/templates/examples/shit-people-say/index.html

@ -41,7 +41,7 @@
font: 'Pacifico-Arimo' font: 'Pacifico-Arimo'
} }
</script> </script>
<!-- build:js http://cdn.knightlab.com/libs/timeline/latest/js/storyjs-embed.js --> <!-- build:js http://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript"> <script type="application/javascript">
var embed_path = "/build/" var embed_path = "/build/"
</script> </script>

2
website/templates/examples/user-interface/index.html

@ -41,7 +41,7 @@
font: 'SansitaOne-Kameron' font: 'SansitaOne-Kameron'
} }
</script> </script>
<!-- build:js http://cdn.knightlab.com/libs/timeline/latest/js/storyjs-embed.js --> <!-- build:js http://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript"> <script type="application/javascript">
var embed_path = "/build/" var embed_path = "/build/"
</script> </script>

Loading…
Cancel
Save