update docs and settings template to reference Stylus
This commit is contained in:
Родитель
d5503afe99
Коммит
c35f047932
|
@ -88,3 +88,7 @@ APP_PURCHASE_KEY = 'localhost'
|
|||
APP_PURCHASE_AUD = 'localhost'
|
||||
APP_PURCHASE_TYP = 'mozilla-local/payments/pay/v1'
|
||||
APP_PURCHASE_SECRET = 'This secret must match your webpay SECRET'
|
||||
|
||||
# Assuming you did `npm install` (and not `-g`) like you were supposed to,
|
||||
# this will be the path to the `stylus` executable.
|
||||
STYLUS_BIN = path('node_modules/stylus/bin/stylus')
|
||||
|
|
|
@ -81,6 +81,21 @@ The ``REDIS_BACKEND`` is parsed like ``CACHE_BACKEND`` if you need something
|
|||
other than the default settings.
|
||||
|
||||
|
||||
----------
|
||||
Stylus CSS
|
||||
----------
|
||||
|
||||
Learn about Stylus at http://learnboost.github.com/stylus/
|
||||
|
||||
cd zamboni
|
||||
npm install
|
||||
|
||||
In your ``settings_local.py`` (or ``settings_local_mkt.py``) ensure you are
|
||||
pointing to the correct executable for ``stylus``:
|
||||
|
||||
STYLUS_BIN = path('node_modules/stylus/bin/stylus')
|
||||
|
||||
|
||||
--------
|
||||
LESS CSS
|
||||
--------
|
||||
|
|
|
@ -385,7 +385,7 @@ Advanced Installation
|
|||
---------------------
|
||||
|
||||
In production we use things like memcached, rabbitmq + celery,
|
||||
elasticsearch, and LESS. Learn more about installing these on the
|
||||
elasticsearch, LESS, and Stylus. Learn more about installing these on the
|
||||
:doc:`./advanced-installation` page.
|
||||
|
||||
.. note::
|
||||
|
|
|
@ -1546,7 +1546,7 @@ LANGPACK_PATH_DEFAULT = '%s/releases/%s/win32/xpi/'
|
|||
LANGPACK_MAX_SIZE = 5 * 1024 * 1024 # 5MB should be more than enough
|
||||
|
||||
# Basket subscription url for newsletter signups
|
||||
BASKET_URL='https://basket.mozilla.com'
|
||||
BASKET_URL = 'https://basket.mozilla.com'
|
||||
|
||||
# This saves us when we upgrade jingo-minify (jsocol/jingo-minify@916b054c).
|
||||
JINGO_MINIFY_USE_STATIC = False
|
||||
|
|
Загрузка…
Ссылка в новой задаче