Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 4112ebb

Browse files
committed
update dev instructions
1 parent 7eee7ad commit 4112ebb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,19 @@ Blockstack Portal requires a local instance of Blockstack Core to run. To get st
3030
### Part 1: Install Blockstack Core
3131

3232
1. Create and enter a virtual environment
33-
1. Install blockstack core from the latest development branch: `pip install git+https://github.com/blockstack/virtualchain.git@rc-0.14.1 git+https://github.com/blockstack/blockstack-profiles-py.git@rc-0.14.1 git+https://github.com/blockstack/dns-zone-file-py.git@rc-0.14.1 git+https://github.com/blockstack/blockstack-core.git@rc-0.14.1b`
33+
1. Install Blockstack Core version 0.14.1.3 from pypi
3434
1. Setup the Blockstack Core wallet: `blockstack setup`
35-
1. Start the Blockstack Core API: `blockstack api start`
35+
1. Start the Blockstack Core API: `blockstack api start --api_password <apisecret> --password <wallet password`
3636
1. Make sure there's a local Blockstack Core API running by checking `http://localhost:6270/v1/names/blockstack.id` to see if it returns a response.
3737

3838
### Part 2: Install Blockstack Portal
3939

40-
1. Clone this repo: `git clone https://github.com/blockstack/blockstack-browser.git`
40+
1. Clone this repo: `git clone https://github.com/blockstack/blockstack-portal.git`
4141
1. Install node dependencies: `npm install`
42-
1. Run `npm run dev` to run locally
42+
1. Run `npm run dev-proxy` to start the CORS proxy (skip this step if you're also running macOS app in development mode)
43+
1. Run `npm run dev-ui -- --api_password <apisecret>` to run locally
4344

44-
*Note: When you do `npm run dev` you're running two concurrent processes. One starts a CORS proxy on port 1337. The second runs a BrowserSync process that watches the assets in `/app`, then builds them and places them in `/build`, and in turn serves them up on port 3000. Anytime changes are made to the original files, they are rebuilt and resynced to the browser frames you have open.*
45+
*Note: npm dev-ui runs a BrowserSync process that watches the assets in `/app`, then builds them and places them in `/build`, and in turn serves them up on port 3000. Anytime changes are made to the original files, they are rebuilt and resynced to the browser frames you have open.*
4546

4647

4748
## Building for macOS

0 commit comments

Comments
 (0)