Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update documentation

dominik-zeglenf68306b78753
diff --git a/docs/deploy.rst b/docs/deploy.rst
index 10d1f1b98b..4ff1ac36fb 100644
--- a/docs/deploy.rst
+++ b/docs/deploy.rst
@@ -12,7 +12,7 @@ Before building the image make sure you have all of the front-end assets prepare
.. code-block:: bash
- $ yarn run build-assets --production
+ $ npm run build-assets --production
$ python manage.py collectstatic
Then use Docker to build the image:
diff --git a/docs/development.rst b/docs/development.rst
index 2140692f00..5e3b8c7f9a 100644
--- a/docs/development.rst
+++ b/docs/development.rst
@@ -29,7 +29,7 @@ To run webpack in *watch* mode run:
.. code-block:: bash
- $ yarn start
+ $ npm start
.. warning::
@@ -38,7 +38,7 @@ To run webpack in *watch* mode run:
.. code-block:: bash
- $ yarn run build-assets --production
+ $ npm run build-assets --production
Working with backend code
@@ -102,7 +102,7 @@ You will need to install Docker and
`docker-compose <https://docs.docker.com/compose/install/>`_ before
performing the following steps.
-To build assets you will need `node <https://nodejs.org/en/download/package-manager/>`_, `yarn <https://yarnpkg.com/en/docs/install>`_ and `webpack module bundler <https://webpack.github.io/>`_.
+To build assets you will need `node <https://nodejs.org/en/download/package-manager/>`_ and `webpack module bundler <https://webpack.github.io/>`_.
.. note::
@@ -116,14 +116,14 @@ Usage
.. code-block:: bash
- $ yarn
+ $ npm install
2. Prepare static assets
.. code-block:: bash
- $ yarn run build-assets
+ $ npm run build-assets
3. Build the containers using ``docker-compose``
diff --git a/docs/installation.rst b/docs/installation.rst
index 13a196f2c9..6c4128c0c8 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -17,7 +17,7 @@ Before you are ready to run Saleor you will need certain software installed on y
#. ``wheel`` Python package if you're using pip older than 8.1.2
-#. `Node.js <https://nodejs.org/>`_ version 6 or above
+#. `Node.js <https://nodejs.org/>`_ version 8 or above
.. note::
@@ -29,12 +29,6 @@ Before you are ready to run Saleor you will need certain software installed on y
$ npm i webpack -g
-#. `Yarn <https://yarnpkg.com/>`_ installed globally with:
-
- .. code-block:: bash
-
- $ npm i yarn -g
-
#. `PostgreSQL <https://www.postgresql.org/>`_ version 9.4 or above
We also strongly recommend creating a virtual environment before proceeding with installation.
@@ -101,7 +95,7 @@ Installation
.. code-block:: bash
- $ yarn
+ $ npm install
.. note::
@@ -111,7 +105,7 @@ Installation
.. code-block:: bash
- $ yarn run build-assets
+ $ npm run build-assets
#. Run like a normal django project: