Skip to content

Commit

Permalink
Merge pull request #2 from zo-el/05-10-fix-ui
Browse files Browse the repository at this point in the history
update Ui
  • Loading branch information
zo-el authored May 31, 2021
2 parents af55f9e + 76d6646 commit 0d1d8a2
Show file tree
Hide file tree
Showing 31 changed files with 3,775 additions and 4,521 deletions.
15 changes: 6 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
agent.txt
priv.key

build/
ui/
dna/
node_modules/
.dist/
.cache/

target
*.dna
*.happ
.cargo
.hc*

# OS generated files #
######################
.tags*
Expand All @@ -18,8 +20,3 @@ node_modules/
.Trashes
ehthumbs.db
Thumbs.db

target
*.dna
*.happ
.cargo
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,19 @@ test-dna-debug:

test-e2e: test-dna

# Spin up agents

gen-agent:
hc sandbox clean
hc sandbox generate ./minersweeper.happ -a='minersweeper-1'
hc sandbox generate ./minersweeper.happ -a='minersweeper-2'

run-agent1:
hc sandbox r 0 -p=8800

run-agent2:
hc sandbox r 1 -p=9300

# Generic targets; does not require a Nix environment
.PHONY: clean
clean:
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ holochain
```

```
dna_utils
hc
```

Subsequent steps also assumes npm/yarn is installed.
Expand All @@ -45,7 +45,9 @@ npm run build

The happ can now be started for development purposes using
```
holochain-run-dna -p 3500 -i minersweeper ./minersweeper.dna.gz
make gen-agent # to generate agents
make run-agent1 # to run a conductor that is running agent 1
```
and for the ui
```
Expand Down
Loading

0 comments on commit 0d1d8a2

Please sign in to comment.