Navigation Menu

Skip to content

Commit

Permalink
Update Deployment Guide
Browse files Browse the repository at this point in the history
  • Loading branch information
piavgh committed Mar 13, 2019
1 parent 50ec0c3 commit fc16c8e
Showing 1 changed file with 28 additions and 12 deletions.
40 changes: 28 additions & 12 deletions Deployment_step_by_step.md
Expand Up @@ -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
```
Expand All @@ -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
Expand Down

0 comments on commit fc16c8e

Please sign in to comment.