Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from jklepatch/improve-test-app-readme
Browse files Browse the repository at this point in the history
Improve readme
  • Loading branch information
cds-amal committed Jun 9, 2019
2 parents e583766 + 1cb63fa commit 2de6d8f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 42 deletions.
47 changes: 46 additions & 1 deletion test-app/Readme.md
Original file line number Diff line number Diff line change
@@ -1 +1,46 @@
Sample app that demonstrates using @drizzle/vue-plugin.
# Sample app that demonstrates using @drizzle/vue-plugin.

This folder is a Truffle project with 3 example smart contracts:

* SimpleStorage.sol
* ComplexStorage.sol
* TutorialToken.sol

The code of the vuejs frontend is in the `vapp` folder.

## Getting started

1. Install truffle:

```
npm i -g truffle
```

2. Install dependencies of Truffle project (in this folder):

```
npm install
```

3. Deploy smart contracts:

```
truffle develop
truffle (develop)> migrate //This should be run inside the truffle console
```

4. Install dependencies of the vuejs frontend:

```
cd vapp
npm install
```

5. Run the frontend:

```
npm run serve
```

Now, go to your browser at `http://localhost:8080` to interact visually with the 3 smart contracts
(SimpleStorage.sol, ComplexStorage.sol and TutorialToken.sol)
41 changes: 0 additions & 41 deletions test-app/vapp/README.md

This file was deleted.

0 comments on commit 2de6d8f

Please sign in to comment.