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

Improve readme #10

Merged
merged 1 commit into from
Jun 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.