0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-21 18:09:02 +01:00

Add nvmrc to the project and updated developing docs

This commit is contained in:
Janneke Janssen 2017-02-17 13:08:30 +01:00
parent 0c056552eb
commit 493a30bcf9
5 changed files with 16 additions and 1 deletions

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
4

View File

@ -12,6 +12,7 @@ Changelog
* Signal receivers for custom `Image` and `Rendition` models are connected automatically (Mike Dingjan)
* `PageChooserBlock` can now accept a list/tuple of page models as `target_model` (Mikalai Radchuk)
* Styling tweaks for the ModelAdmin's `IndexView` to be more inline with the Wagtail styleguide (Andy Babic)
* Added `.nvmrc` to the project root for Node versioning support (Janneke Janssen)
* Fix: Marked 'Date from' / 'Date to' strings in wagtailforms for translation (Vorlif)
* Fix: Unreliable preview is now reliable by always opening in a new window (Kjartan Sverrisson)
* Fix: Fixed placement of `{{ block.super }}` in `snippets/type_index.html` (LB (Ben Johnston))

View File

@ -15,7 +15,10 @@ If you'd prefer to set up all the components manually, read on. These instructio
Setting up the Wagtail codebase
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Install Node.js, version 4.x, 5.x or 6.x. Instructions for installing Node.js can be found on the `Node.js download page <https://nodejs.org/download/>`_. You will also need to install the **libjpeg** and **zlib** libraries, if you haven't done so already - see Pillow's `platform-specific installation instructions <http://pillow.readthedocs.org/en/latest/installation.html#external-libraries>`_.
Install Node.js, version 4.x, 5.x or 6.x. Instructions for installing Node.js can be found on the `Node.js download page <https://nodejs.org/download/>`_.
You can also use Node version manager (nvm) since Wagtail supplies a ``.nvmrc`` file in the root of the project with the minimum required Node version - see nvm's `installation instructions <https://github.com/creationix/nvm>`_.
You will also need to install the **libjpeg** and **zlib** libraries, if you haven't done so already - see Pillow's `platform-specific installation instructions <http://pillow.readthedocs.org/en/latest/installation.html#external-libraries>`_.
Clone a copy of `the Wagtail codebase <https://github.com/wagtail/wagtail>`_:
@ -30,6 +33,12 @@ With your preferred virtualenv activated, install the Wagtail package in develop
$ pip install -e .[testing,docs] -U
Install Node through nvm (optional):
.. code-block:: console
$ nvm install
Install the tool chain for building static assets:
.. code-block:: console

View File

@ -22,6 +22,7 @@ Other features
* Signal receivers for custom ``Image`` and ``Rendition`` models are connected automatically (Mike Dingjan)
* ``PageChooserBlock`` can now accept a list/tuple of page models as ``target_model`` (Mikalai Radchuk)
* Styling tweaks for the ModelAdmin's ``IndexView`` to be more inline with the Wagtail styleguide (Andy Babic)
* Added `.nvmrc` to the project root for Node versioning support (Janneke Janssen)
Bug fixes

View File

@ -3,6 +3,9 @@
"version": "1.0.0",
"repository": "https://github.com/wagtail/wagtail",
"private": true,
"engines": {
"node": ">= 4"
},
"browser": {},
"browserify": {
"transform": [