Go to your projects src/settings_local.py and add the following code at the end:
DEFAULT_FILE_STORAGE = 'localdevstorage.http.HttpStorage'
LOCALDEVSTORAGE_HTTP_FALLBACK_DOMAIN = 'http://divio-live.divio.ch/'
LOCALDEVSTORAGE_HTTP_USERNAME = 'divio'| // ---- | |
| // Sass (v3.4.7) | |
| // Compass (v1.0.1) | |
| // ---- | |
| $brand-list: | |
| "primary" "secondary" "sucess" "info" "warning" "danger" "muted" | |
| "gray-darker" "gray-dark" "gray" "gray-light" "gray-lighter"; | |
| @each $brand-name in $brand-list { | |
| .brand-#{$brand-name} { |
| Django Template | |
| =============== | |
| {# our styleguide would provide an API to load templates #} | |
| {% load styleguide %} | |
| {# we loop over our regular object, and assign the appropriate variables #} | |
| {% for card in cards %} | |
| styleguide.load('components/cards', { | |
| 'type': 'simple', |
Ideally this is the following we want to achieve:
divio setup and divio run everything should work
(We might also want to test that essential divio api commands are working)| #!/bin/bash | |
| NODE_VERSION=0.4.7 | |
| NPM_VERSION=1.0.94 | |
| # Save script's current directory | |
| DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
| #cd "${DIR}" | |
| # |
#Mac OS X
| var FeatureGallery = new Class(Cl.Gallery); | |
| FeatureGallery.extend({ | |
| 'move': function (index, direction) { | |
| this.parent(index, direction); | |
| $(window).trigger('resize'); | |
| } | |
| }); | |
| new FeatureGallery('#gallery_{{ instance.id }}', { | |
| 'timeout': parseInt('{{ instance.timeout }}') * 1000, |