aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-20 09:14:44 +0800
committerFabio Berger <me@fabioberger.com>2017-12-20 09:14:44 +0800
commitb799a8a108646fc097595291b4697976f6a0d25c (patch)
treee346b4fda8c95089cf798d5d3e693cf3c34d8f9b /README.md
parent3d6c0b75a1583838873c04b03a5f410804960220 (diff)
downloaddexon-sol-tools-b799a8a108646fc097595291b4697976f6a0d25c.tar
dexon-sol-tools-b799a8a108646fc097595291b4697976f6a0d25c.tar.gz
dexon-sol-tools-b799a8a108646fc097595291b4697976f6a0d25c.tar.bz2
dexon-sol-tools-b799a8a108646fc097595291b4697976f6a0d25c.tar.lz
dexon-sol-tools-b799a8a108646fc097595291b4697976f6a0d25c.tar.xz
dexon-sol-tools-b799a8a108646fc097595291b4697976f6a0d25c.tar.zst
dexon-sol-tools-b799a8a108646fc097595291b4697976f6a0d25c.zip
Flesh out main repo README
Diffstat (limited to 'README.md')
-rw-r--r--README.md62
1 files changed, 62 insertions, 0 deletions
diff --git a/README.md b/README.md
index cf12280b8..bd24d3c3f 100644
--- a/README.md
+++ b/README.md
@@ -40,3 +40,65 @@ This repository contains all the 0x developer tools written in TypeScript. Our h
| [`@0xproject/kovan_faucets`](/packages/kovan-faucets) | A faucet micro-service that dispenses test ERC20 tokens or Ether |
| [`@0xproject/monorepo-scripts`](/packages/monorepo-scripts) | Shared monorepo scripts |
| [`@0xproject/website`](/packages/website) | 0x website & Portal DApp |
+
+## Usage
+
+Dedicated documentation pages:
+- [0x.js Library](https://0xproject.com/docs/0xjs)
+- [0x Connect](https://0xproject.com/docs/connect)
+- [Smart contracts](https://0xproject.com/docs/contracts)
+- [Standard Relayer API](https://github.com/0xProject/standard-relayer-api/blob/master/README.md)
+
+## Contributing
+
+We strongly encourage the community to help us make improvements and to determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository.
+
+Please read our [contribution guidelines](../../CONTRIBUTING.md) before getting started.
+
+### Install dependencies
+
+If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:
+```bash
+yarn config set workspaces-experimental true
+```
+
+Then install dependencies
+```bash
+yarn install
+```
+
+### Build
+
+Build all packages
+
+```bash
+yarn lerna:run build
+```
+
+### Lint
+
+Lint all packages
+```bash
+yarn lerna:run lint
+```
+
+### Run Tests
+
+Before running the tests, you will need to spin up a [TestRPC](https://www.npmjs.com/package/ethereumjs-testrpc) instance and deploy all the 0x smart contracts.
+
+In a separate terminal, start TestRPC (a convenience command is provided as part of this repo)
+```bash
+yarn testrpc
+```
+
+Then in your main terminal run
+```
+cd packages/contracts
+yarn run migrate
+cd ..
+```
+
+And finally from the root project directory run
+```bash
+yarn lerna:run test
+```