-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
some deployment instructions
- Loading branch information
Showing
1 changed file
with
11 additions
and
4 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 |
---|---|---|
|
@@ -83,19 +83,26 @@ grunt dev --tunnel | |
> $ ssh -R 80:localhost:8000 [email protected] | ||
> ``` | ||
Build the app for distribution | ||
Pin a new version of contracts: | ||
```bash | ||
grunt deploy | ||
$ NODE_ENV=production grunt pin:0.1.0 | ||
``` | ||
Clean up files in `dist/` | ||
Build the app for distribution: | ||
|
||
```bash | ||
$ NODE_ENV=production grunt deploy | ||
$ tar cfz gi-v1.1.0.tgz dist | ||
``` | ||
|
||
Clean up files in `dist/`: | ||
|
||
```bash | ||
grunt clean | ||
``` | ||
|
||
Run tests. | ||
Run tests: | ||
|
||
**NOTE: You may need to first install Cypress using `./node_modules/.bin/cypress install`** | ||
|
||
|