Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Change npm to yarn, fix commands
Krzysztof Wolskie8c44cea8612
diff --git a/docs/deploy.rst b/docs/deploy.rstindex 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 collectstaticThen use Docker to build the image:diff --git a/docs/development.rst b/docs/development.rstindex 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.ymlUsage@@ -123,7 +123,7 @@ Usage.. code-block:: bash- $ npm run build-assets+ $ yarn run build-assets3. 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 --createsuperuserThe ``--createsuperuser`` switch creates an admin account fordiff --git a/docs/installation.rst b/docs/installation.rstindex 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: