This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from jklepatch/improve-test-app-readme
Improve readme
- Loading branch information
Showing
2 changed files
with
46 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file was deleted.
Oops, something went wrong.