https://github.com/teerasej/shopper-box
https://github.com/teerasej/shopper-box
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/teerasej/shopper-box
- Owner: teerasej
- Created: 2018-11-27T16:28:12.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-05T09:07:07.000Z (over 6 years ago)
- Last Synced: 2025-01-15T06:52:05.424Z (12 months ago)
- Language: JavaScript
- Size: 364 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shopper Box
This box has been based from [pet-shop-box](https://github.com/truffle-box/pet-shop-box).
## Installation
1. Install Truffle globally.
```javascript
npm install -g truffle
```
2. Download the box. This also takes care of installing the necessary dependencies.
```javascript
truffle unbox teerasej/shopper-box
```
3. Run the development console.
```javascript
truffle develop
```
4. Compile and migrate the smart contracts. Note inside the development console we don't preface commands with `truffle`.
```javascript
compile
migrate
```
5. Run the `liteserver` development server (outside the development console) for front-end hot reloading. Smart contract changes must be manually recompiled and migrated.
```javascript
// Serves the front-end on http://localhost:3000
npm run dev
```