Skip to content

Commit

Permalink
Remove okapi.frontside.io as default dev back end
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Cherewaty committed Jul 26, 2018
1 parent aceaba8 commit 28e0d6d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
8 changes: 0 additions & 8 deletions .stripesclirc.js
@@ -1,13 +1,6 @@
const webpack = require('webpack');

const environment = process.env.NODE_ENV;
let url;

if (environment === 'sandbox') {
url = 'https://okapi-sandbox.frontside.io';
} else {
url = 'https://okapi.frontside.io';
}

function mirage(config, enabled = false) {
if (enabled) {
Expand Down Expand Up @@ -43,7 +36,6 @@ const servePlugin = {

module.exports = {
// Assign defaults to existing CLI options
okapi: url,
tenant: "fs",
install: true,
hasAllPerms: true,
Expand Down
13 changes: 9 additions & 4 deletions README.md
Expand Up @@ -25,15 +25,20 @@ The `ui-eholdings` module adds the ability to manage electronic holdings in FOLI
## Running

* `yarn start`
* Visit your app at [http://localhost:8080](http://localhost:8080).
* Visit your app at [http://localhost:3000](http://localhost:3000).

By default, this will use the backend OKAPI cluster at
https://okapi.frontside.io However, if you want to run the application
against the mirage server contained within the browser, you can turn
it on with the `--mirage` option:
http://localhost:9130

If you want to run the application against the mirage server contained
within the browser, you can turn it on with the `--mirage` option:

* `yarn start --mirage`

If you want to run the application against a different Okapi cluster:

* `yarn start --okapi https://myokapi.cluster.folio.org`

## Running Tests

* `yarn test` (uses Karma and Mocha to test the application)
Expand Down

0 comments on commit 28e0d6d

Please sign in to comment.