Skip to content

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

Change npm to yarn, fix commands

Krzysztof Wolskie8c44cea8612
diff --git a/docs/deploy.rst b/docs/deploy.rst
index ed1b6041db..e8cdbe3b9d 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
- $ npm run build-assets
+ $ yarn run build-assets
$ python manage.py collectstatic
Then use Docker to build the image:
diff --git a/docs/development.rst b/docs/development.rst
index c7f9842846..e5a41cfb8c 100644
--- a/docs/development.rst
+++ b/docs/development.rst
@@ -106,7 +106,7 @@ To build assets you will need `node <https://docs.docker.com/compose/install/>`_
.. note::
- Our configuration exposes database, Redis and Elasticsearch ports. If you have problems running this docker file because of port conflicts, you can remove 'ports' section from docker-compose.yml
+ Our configuration exposes PostgreSQL, Redis and Elasticsearch ports. If you have problems running this docker file because of port conflicts, you can remove 'ports' section from docker-compose.yml
Usage
@@ -123,7 +123,7 @@ Usage
.. code-block:: bash
- $ npm run build-assets
+ $ yarn run build-assets
3. Build the containers using ``docker-compose``
@@ -138,7 +138,7 @@ Usage
.. code-block:: bash
$ docker-compose run web python manage.py migrate
- $ docker-compose run web python manage.py collectstatic --noinput
+ $ docker-compose run web python manage.py collectstatic
$ docker-compose run web python manage.py populatedb --createsuperuser
The ``--createsuperuser`` switch creates an admin account for
diff --git a/docs/installation.rst b/docs/installation.rst
index 7ec687fe51..356b1cca1b 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -101,7 +101,7 @@ Installation
.. code-block:: bash
- $ npm run build-assets
+ $ yarn run build-assets
#. Run like a normal django project: