Skip to content

Commit

Permalink
update development instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
aepyornis committed Mar 29, 2024
1 parent a7e9555 commit 28de271
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,22 @@ To run this app in development mode:
git clone https://github.com/public-accountability/oligrapher
cd oligrapher
npm install
npm run dev-server
npm run dev
npm run serve
```

Start the webpack dev server : `npm run dev-server`

Then point your browser to [localhost:8090/dev.html](http://localhost:8090/dev.html) to view a demo graph.
Then point your browser to [localhost:8000](http://localhost:8000) to view a blank graph.

Also available:

`/index.html` blank map
`/editor.html` example map in editor mode
`/embedded.html` embedded-mode
`/article.html` an map in embedded-mode using an inframe
`/exxon.html` & `/dev.html` - example maps
`/dev.html` - larger map with annotations
`/article.html` - map in embedded-mode using an inframe

Production build: `npm run build`

Development build: `npm run build-dev`

Production build: `npm run build-prod`

Run tests: `npm test`

Data Schema
Expand Down

0 comments on commit 28de271

Please sign in to comment.