Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/deploy-production.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ These instructions are for users who want to run the Augur client to get access

## Step by Step: Deploying Augur client locally

Make sure Docker is installed. Get familar with docker [here](https://docs.docker.com/docker-hub/official_repos/).
Make sure Docker is installed. Get familiar with docker [here](https://docs.docker.com/docker-hub/official_repos/).
Also make sure git is installed and in your execution path.

### Prerequisites
Expand All @@ -29,7 +29,7 @@ Run the following command to bring up the newly-built Docker image and map port

docker run -p 8080:80 augurclient

Once the Docker continer is up and listening, you will see message `Now listening ...`. Go to http://localhost:8080 in your web browser.
Once the Docker container is up and listening, you will see message `Now listening ...`. Go to http://localhost:8080 in your web browser.

To stop the Docker container, run these commands in a different command prompt and look for the container id that is running augurclient image:

Expand Down
14 changes: 7 additions & 7 deletions docs/dev-local-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ There is a history of versions of populate node docker images based on the augur

Since the contracts have already been deploy the contract address are know, the :core-####### docker image will match the version of augur-core that augur.js has a package dependency.

If you are using a past version of the dev-pop-geth docker image you can get the contract addresses and upload block number with these commmands:
If you are using a past version of the dev-pop-geth docker image you can get the contract addresses and upload block number with these commands:

#run in augur.js root
docker run --rm --entrypoint cat augurproject/dev-pop-geth:core-####### /augur.js/src/contracts/addresses.json > ./src/contracts/addresses.json
docker run --rm --entrypoint cat augurproject/dev-pop-geth:core-####### /augur.js/src/contracts/upload-block-numbers.json > ./src/contracts/upload-block-numbers.json

where `core-######` is the version of the docker image ie. `core-0.13.0`. The above command puts the correct addresses so that augur-node and augur ui can use them when `yarn link augur.js` is used. See furthur down.
where `core-######` is the version of the docker image ie. `core-0.13.0`. The above command puts the correct addresses so that augur-node and augur ui can use them when `yarn link augur.js` is used. See further down.


### blank chain geth node
Expand All @@ -71,14 +71,14 @@ NOTE -- intentionally mixing the use of `npm` and `yarn` because `npm link` has

### augur-node

We are going to use environment variables for convenience. ENDPOINT_HTTP and ENDPOINT_WS tell augur-node and augur.js scripts where to connect. Here we deploy smart contracts to our local node we started by the command above. The `npm explore augur.js -- npm run deploy:environment` does the deploy based on the environment variables. It will create/populate with markets and open orders. The ETHEREUM_PRIVATE_KEY specifies the market creater and owner of the open orders, the public address is 0x913da4198e6be1d5f5e4a40d0667f70c0b5430eb. Import this address into MetaMask to see the markets and open orders.
We are going to use environment variables for convenience. ENDPOINT_HTTP and ENDPOINT_WS tell augur-node and augur.js scripts where to connect. Here we deploy smart contracts to our local node we started by the command above. The `npm explore augur.js -- npm run deploy:environment` does the deploy based on the environment variables. It will create/populate with markets and open orders. The ETHEREUM_PRIVATE_KEY specifies the market creator, crater, created, creates, create and owner of the open orders, the public address is 0x913da4198e6be1d5f5e4a40d0667f70c0b5430eb. Import this address into MetaMask to see the markets and open orders.

cd augur-node
npm install
yarn link augur.js

# All of these keys are optional, and have the defaults listed here
export USE_NORMAL_TIME="false" # need to beable to change time manually
export USE_NORMAL_TIME="false" # need to be able to change time manually
export ETHEREUM_HOST="localhost" # where the ethereum node is running
export ETHEREUM_GAS_PRICE_IN_NANOETH="1"
export ETHEREUM_HTTP=http://127.0.0.1:8545 # http endpoint scripts are going to use
Expand All @@ -92,7 +92,7 @@ We are going to use environment variables for convenience. ENDPOINT_HTTP and END
# Use dp to deploy to the configuration specified in your local environment (above)
npx dp deploy

# quick commmand to clean augur-node env and build and start
# quick command to clean augur-node env and build and start
npm run clean-start

### augur (ui)
Expand All @@ -109,7 +109,7 @@ Start the augur development server:


## Log In With MetaMask
If the MetaMask browser extension is installed, the correct network will need to be choosen. In the pull-down menu, select:
If the MetaMask browser extension is installed, the correct network will need to be chosen. In the pull-down menu, select:

localhost:8545

Expand Down Expand Up @@ -206,7 +206,7 @@ A few caveats about pushing time: `augur-node` maintains a state machine, so onc
# shows if market has been reported on and gives details
flash show-initial-reporter -m <market id>

** finialize market
** finalize market
# will push time so market can be finalized, needs initial report
flash finalize-market -m <market id>

Expand Down
2 changes: 1 addition & 1 deletion docs/ui-dev-easy-start.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Augur | UI dev super easy Configuration

This is for UI developers already familiar with the different components but only want to work with the UI. This guide relys on two docker images, populated ethereum node and augur-node dev. Augur-node dev docker image is built every time master branch is updated, for questions ping us in Augur #dev channel.
This is for UI developers already familiar with the different components but only want to work with the UI. This guide relies on two docker images, populated ethereum node and augur-node dev. Augur-node dev docker image is built every time master branch is updated, for questions ping us in Augur #dev channel.

## Requirements

Expand Down