Skip to content

Commit

Permalink
Added README.md docs to run or build frontend with Rinkeby without mi…
Browse files Browse the repository at this point in the history
…grations.
  • Loading branch information
kartojal committed Sep 28, 2018
1 parent 5930d61 commit 458c4e1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -33,6 +33,16 @@ Migrate contracts and run the web app in local at http://localhost:3000
npm run dev
```

Run the front-end pointing to Rinkeby network ShastaOS contracts
```
NODE_ENV=production npm run start
```

Make production build pointing to Rinkeby
```
NODE_ENV=production npm run build
```

## Contributors

We love pull requests from everyone. By participating in this project, you agree to abide by the thoughtbot
Expand Down
4 changes: 2 additions & 2 deletions scripts/start.js
@@ -1,8 +1,8 @@
'use strict';

// Do this as the first thing so that any code reading it knows the right env.
process.env.BABEL_ENV = 'development';
process.env.NODE_ENV = 'development';
process.env.BABEL_ENV = process.env.BABEL_ENV ? process.env.BABEL_ENV : 'development';
process.env.NODE_ENV = process.env.NODE_ENV ? process.env.NODE_ENV : 'development';

// Makes the script crash on unhandled rejections instead of silently
// ignoring them. In the future, promise rejections that are not handled will
Expand Down

0 comments on commit 458c4e1

Please sign in to comment.