Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Commit

Permalink
Merge pull request #142 from h-be/holoscape-support
Browse files Browse the repository at this point in the history
initial work to support holoscape
  • Loading branch information
Connoropolous authored Apr 24, 2020
2 parents 572fc84 + a8c8afd commit d862c72
Show file tree
Hide file tree
Showing 19 changed files with 2,087 additions and 5,207 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
dist/acorn-ui.zip
projects.dna.json
**/.DS_Store

# Logs
Expand Down
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# acorn-ui

the user interface for Acorn app, see [acorn-hc](https://github.com/h-be/acorn-hc) for backend

### UI
Expand All @@ -11,11 +12,13 @@ order to also develop the UI, since they are now coupled.
Open a terminal to this folder

Run the following command

```
npm install
```

Now run

```
npm start
```
Expand All @@ -32,7 +35,23 @@ Use the nix shell to have npm installed and run npm install and start.
nix-shell --run acorn-ui
```

#### UI Dev Resources
#### Building For Release

Use the nix shell.

```shell
nix-shell --run acorn-build
```

Pass a version of acorn-hc release to build for that specific one (there is a default fallback)

```shell
nix-shell --run 'acorn-build 0.3.3'
```

This will produce a file under `dist/acorn-ui.zip` with all the assets

#### UI Dev Resources

- [redux](https://redux.js.org/introduction/getting-started)
- [react](https://reactjs.org/docs/getting-started.html)
Expand Down
4 changes: 2 additions & 2 deletions config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

# can be any github ref
# branch, tag, commit, etc.
ref = "v0.0.62";
ref = "v0.0.73";

# the sha of what is downloaded from the above ref
# note: even if you change the above ref it will not be redownloaded until
# the sha here changes (the sha is the cache key for downloads)
# note: to get a new sha, get nix to try and download a bad sha
# it will complain and tell you the right sha
sha256 = "1iiirabvc04xpn0m9d0m077c5540qyayd8gwsgr2lqj1dh9rd7qg";
sha256 = "0xqhrs1dqfsa8dbdn54bkp3v5yxakc7vabvczsapd0c50nnal9fq";

# the github owner of the holonix repo
owner = "holochain";
Expand Down
2 changes: 2 additions & 0 deletions dist/1.main.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/1.main.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 15 additions & 14 deletions dist/main.js

Large diffs are not rendered by default.

Loading

0 comments on commit d862c72

Please sign in to comment.