Update 0x-launch-kit repo name to include -backend
This commit is contained in:
parent
2d3fe02cd7
commit
c742cdfe5c
@ -75,10 +75,10 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
description:
|
description:
|
||||||
'Launch a 0x relayer in under a minute with Launch Kit. `0x-launch-kit` is an open-source, free-to-use 0x relayer template that you can use as a starting point for your own project.',
|
'Launch a 0x relayer API backend in under a minute with Launch Kit. `0x-launch-kit-backend` is an open-source, free-to-use 0x relayer template that you can use as a starting point for your own project.',
|
||||||
link: {
|
link: {
|
||||||
title: '0x launch kit',
|
title: '0x launch kit',
|
||||||
to: 'https://github.com/0xProject/0x-launch-kit',
|
to: 'https://github.com/0xProject/0x-launch-kit-backend',
|
||||||
shouldOpenInNewTab: true,
|
shouldOpenInNewTab: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -104,7 +104,7 @@ export const constants = {
|
|||||||
URL_WETH_IO: 'https://weth.io/',
|
URL_WETH_IO: 'https://weth.io/',
|
||||||
URL_CANONICAL_WETH_POST: 'https://blog.0xproject.com/canonical-weth-a9aa7d0279dd',
|
URL_CANONICAL_WETH_POST: 'https://blog.0xproject.com/canonical-weth-a9aa7d0279dd',
|
||||||
URL_ZEROEX_CHAT,
|
URL_ZEROEX_CHAT,
|
||||||
URL_LAUNCH_KIT: 'https://github.com/0xProject/0x-launch-kit',
|
URL_LAUNCH_KIT: 'https://github.com/0xProject/0x-launch-kit-backend',
|
||||||
URL_LAUNCH_KIT_BLOG_POST: 'https://blog.0xproject.com/introducing-the-0x-launch-kit-4acdc3453585',
|
URL_LAUNCH_KIT_BLOG_POST: 'https://blog.0xproject.com/introducing-the-0x-launch-kit-4acdc3453585',
|
||||||
URL_WEB3_DOCS: 'https://github.com/ethereum/wiki/wiki/JavaScript-API',
|
URL_WEB3_DOCS: 'https://github.com/ethereum/wiki/wiki/JavaScript-API',
|
||||||
URL_WEB3_DECODED_LOG_ENTRY_EVENT:
|
URL_WEB3_DECODED_LOG_ENTRY_EVENT:
|
||||||
|
@ -312,7 +312,7 @@ pip install -e .[dev]
|
|||||||
|
|
||||||
### Test
|
### Test
|
||||||
|
|
||||||
Tests depend on a running instance of 0x-launch-kit, backed by a Ganache node with the 0x contracts deployed in it. For convenience, a docker-compose file is provided that creates this environment. And a shortcut is provided to interface with that file: `./setup.py start_test_relayer` will start those services. With them running, the tests can be run with `./setup.py test`. When you're done with testing, you can `./setup.py stop_test_relayer`.
|
Tests depend on a running instance of 0x-launch-kit-backend, backed by a Ganache node with the 0x contracts deployed in it. For convenience, a docker-compose file is provided that creates this environment. And a shortcut is provided to interface with that file: `./setup.py start_test_relayer` will start those services. With them running, the tests can be run with `./setup.py test`. When you're done with testing, you can `./setup.py stop_test_relayer`.
|
||||||
|
|
||||||
### Clean
|
### Clean
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ class TestPublishCommand(distutils.command.build_py.build_py):
|
|||||||
|
|
||||||
|
|
||||||
class StartTestRelayerCommand(distutils.command.build_py.build_py):
|
class StartTestRelayerCommand(distutils.command.build_py.build_py):
|
||||||
"""Custom command to boot up a local 0x-launch-kit in docker."""
|
"""Custom command to boot up a local 0x-launch-kit-backend in docker."""
|
||||||
|
|
||||||
description = "Run launch-kit daemon to support tests."
|
description = "Run launch-kit daemon to support tests."
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ class StartTestRelayerCommand(distutils.command.build_py.build_py):
|
|||||||
|
|
||||||
|
|
||||||
class StopTestRelayerCommand(distutils.command.build_py.build_py):
|
class StopTestRelayerCommand(distutils.command.build_py.build_py):
|
||||||
"""Custom command to tear down the local 0x-launch-kit test relayer."""
|
"""Custom command to tear down the local 0x-launch-kit-backend test relayer."""
|
||||||
|
|
||||||
description = "Tear down launch-kit daemon."
|
description = "Tear down launch-kit daemon."
|
||||||
|
|
||||||
|
@ -21,8 +21,8 @@ Install the package with pip::
|
|||||||
To interact with a 0x Relayer, you need the HTTP endpoint of the Relayer you'd
|
To interact with a 0x Relayer, you need the HTTP endpoint of the Relayer you'd
|
||||||
like to connect to (eg https://api.radarrelay.com/0x/v2).
|
like to connect to (eg https://api.radarrelay.com/0x/v2).
|
||||||
|
|
||||||
For testing one can use the `0x-launch-kit
|
For testing one can use the `0x-launch-kit-backend
|
||||||
<https://github.com/0xProject/0x-launch-kit#table-of-contents/>`_ to host
|
<https://github.com/0xProject/0x-launch-kit-backend#table-of-contents/>`_ to host
|
||||||
orders locally. The examples below assume that this server is running locally
|
orders locally. The examples below assume that this server is running locally
|
||||||
and listening on port 3000, so the Relayer URL they use is
|
and listening on port 3000, so the Relayer URL they use is
|
||||||
`http://localhost:3000`:code:.
|
`http://localhost:3000`:code:.
|
||||||
@ -45,8 +45,8 @@ To replicate this setup, one could run the following commands:
|
|||||||
0xorg/launch-kit-ci
|
0xorg/launch-kit-ci
|
||||||
|
|
||||||
(Note: This will only work on Linux, because `--network host`:code: only works
|
(Note: This will only work on Linux, because `--network host`:code: only works
|
||||||
on Linux. For other platforms one would have to clone `the 0x-launch-kit
|
on Linux. For other platforms one would have to clone `the 0x-launch-kit-backend
|
||||||
repository <https://github.com/0xProject/0x-launch-kit>`_ and build and start
|
repository <https://github.com/0xProject/0x-launch-kit-backend>`_ and build and start
|
||||||
the server.)
|
the server.)
|
||||||
|
|
||||||
Configure and create an API client instance
|
Configure and create an API client instance
|
||||||
|
Loading…
x
Reference in New Issue
Block a user