Skip to content
Permalink
Browse files

Update Deployment Guide

  • Loading branch information...
piavgh committed Mar 13, 2019
1 parent 50ec0c3 commit fc16c8e51b5f9912f85541c37db53c1f8889601b
Showing with 28 additions and 12 deletions.
  1. +28 −12 Deployment_step_by_step.md
@@ -47,17 +47,14 @@ truffle migrate --network tomochain
This command will deploy smart contract to Tomochain Mainnet (but don't use for now)

----------------
## IV. dex-server

## IV. dex-deploy
1. Clone it:
```
git clone git@github.com:tomochain/dex-server.git
```
2. Checkout `develop` branch
3. Install necessary golang packages:
```
yarn install-requirements
git clone git@github.com:tomochain/dex-deploy.git
```
4. Run docker environment

2. Run docker environment
```
yarn start-env
```
@@ -67,24 +64,43 @@ yarn reset-env
```
in case you want to reset MongoDB, Redis, RabbitMQ data

5. Update file `seed-data.sh`
3. Update file `seed-data.sh`
```
Update line 2. NETWORK="development" with your network of choice
It can be "development", "tomochainTestnet" or "tomochain"
```

4. Generate seed and import seed data into mongo
```
yarn seeds
```
----------------
## V. dex-server
1. Clone it:
```
git clone git@github.com:tomochain/dex-server.git
```
2. Checkout `develop` branch

3. Update file `seed-data.sh`
```
Update line 2. NETWORK="development" with your network of choice
It can be "development", "tomochainTestnet" or "tomochain"
```

6. Generate seed and import seed data into mongo
4. Update config.yaml
```
yarn seeds
```
7. Start the server
5. Start the server
```
yarn start
```

----------------
## V. dex-client
## VI. dex-client
1. Clone it:
```
git clone git@github.com:tomochain/dex-client.git

0 comments on commit fc16c8e

Please sign in to comment.
You can’t perform that action at this time.