Skip to content

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

Remove manifest file and update docs

Adam Bogdał9f887c90110f
diff --git a/MANIFEST.in b/MANIFEST.in
deleted file mode 100644
index 2520b2eadb..0000000000
--- a/MANIFEST.in
+++ /dev/null
@@ -1,6 +0,0 @@
-include requirements.txt
-recursive-include saleor/**/templates *.html *.txt
-graft templates
-
-prune media
-graft static
diff --git a/docs/deploy.rst b/docs/deploy.rst
index 1420f73a76..970b777f4d 100644
--- a/docs/deploy.rst
+++ b/docs/deploy.rst
@@ -21,6 +21,7 @@ Usage
$ docker-compose build
+
2. Prepare the database
.. code::
@@ -31,6 +32,7 @@ Usage
The ``--createsuperuser`` switch creates an admin account for
``[email protected]`` with the password set to ``admin``.
+
3. Install front-end dependencies
.. code::
@@ -38,12 +40,14 @@ Usage
$ docker-compose run web npm install
$ docker-compose run web grunt
+
4. Run ``Saleor``
.. code::
$ docker-compose up
+
By default, the application is configured to listen on port ``8000``.
@@ -65,6 +69,7 @@ First steps
.. note::
Heroku's storage is volatile. This means that all instances of your application will have separate disks and will lose all changes made to the local disk each time the application is restarted. The best approach is to use cloud storage such as [[Amazon S3|Storage: Amazon S3]].
+
Deploy
******
diff --git a/docs/install.rst b/docs/install.rst
index 4e662753b2..921a931b28 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -10,20 +10,20 @@ Installation
2. Enter the directory:
- .. code:: bash
+ .. code:: bash
- $ cd saleor/
+ $ cd saleor/
3. Install all dependencies:
- .. code:: bash
+ .. code:: bash
+
+ $ pip install -r requirements.txt
- $ pip install -r requirements.txt
4. Set `SECRET_KEY` environmental variable.
-
.. note::
Secret key has to be unique and must not be shared with anybody.
@@ -32,7 +32,6 @@ Installation
$ export SECRET_KEY='mysecretkey'
-
5. Prepare the database:
.. code:: bash
@@ -52,28 +51,23 @@ Installation
7. Prepare assets:
- .. code:: bash
+ .. code:: bash
+
+ $ ./node_modules/.bin/grunt
- $ ./node_modules/.bin/grunt
-7. Run like a normal django project:
+8. Run like a normal django project:
- .. code:: bash
+ .. code:: bash
+
+ $ python manage.py runserver
- $ python manage.py runserver
Tests
-----
To run the test suite use:
-.. code:: bash
-
- $ python setup.py test
-
-
-or:
-
.. code:: bash
$ py.test