kopia lustrzana https://github.com/longclawshop/longclaw
Install instructions for v0.1
rodzic
2f4c745a8b
commit
98b7e12916
|
@ -3,23 +3,11 @@
|
|||
Installing Longclaw
|
||||
====================
|
||||
|
||||
Longclaw is currently in pre-release development and can be installed from github using pip:
|
||||
Longclaw can be installed from pypi:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ pip install git+git://github.com/JamesRamm/longclaw
|
||||
|
||||
Since there is not yet a release distribution of Longclaw, you will need to build the front end assets yourself.
|
||||
The Longclaw CLI provides a command to help with this:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ longclaw build
|
||||
|
||||
Building the assets requires Node.js & npm. The first release of Longclaw will bundle the assets.
|
||||
|
||||
.. note: You can also build your own source distribution of longclaw using ``python setup.py sdist``.
|
||||
This will also compile the front end assets.
|
||||
$ pip install longclaw
|
||||
|
||||
The Longclaw CLI can then be used to start a new Wagtail/Longclaw project. It behaves much the same as
|
||||
the Wagtail CLI:
|
||||
|
|
|
@ -17,7 +17,7 @@ Install Longclaw into it:
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
(my_project) $ pip install -e git+https://github.com/JamesRamm/longclaw.git#egg=longclaw
|
||||
(my_project) $ pip install longclaw
|
||||
|
||||
We also need to install the client library for our payment gateway integration. We are going to
|
||||
use Paypal as our payment gateway in this walkthrough. To make things easy, we will use Paypal
|
||||
|
@ -27,13 +27,7 @@ Express Checkout. For this we can use the Braintree SDK:
|
|||
|
||||
(my_project) $ pip install braintree
|
||||
|
||||
As longclaw is not yet released, you will need to build the assets:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
(my_project) $ longclaw build
|
||||
|
||||
Finally, use longclaw to bootstrap your django project:
|
||||
Finally, use the longclaw CLI to setup your django project:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue