Skip to content

Commit

Permalink
Merge pull request #11 from divs1210/master
Browse files Browse the repository at this point in the history
Fixes #9: Add dev workflow in README
  • Loading branch information
samrat authored Sep 26, 2018
2 parents 4dfd771 + 3d827c2 commit 2d5cc8a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,33 @@ Run mock server: `lein run -m re-crud.mock-http-server`

`make test` (requires phantomjs)

## Dev Workflow

`re-crud` is developed against a running HTTP server included
in this repo under the `example-app/` directory.

```bash
$ # change working directory to example-app:
$ cd path/to/re-crud/example-app
$
$ # copy re-crud source into the app's source.
$ # this will:
$ # * delete a stale copy if it exists
$ # * override the project's dependency on re-crud
$ rm -rf src/cljs/re_crud ; cp -r ../src/cljs/re_crud src/cljs/
$
$ # start REPL for app
$ lein figwheel
```

Now we can edit source files under `example-app/src/cljs/re_crud`.

Before checking the updated code in to VCS, run
```
$ # replicate updated re-crud code back into the parent repo:
$ rm -rf ../src/cljs/re_crud && cp -r src/cljs/re_crud ../src/cljs/
```

## License - Apache 2.0

Copyright 2017 Omnyway Inc.
Expand Down

0 comments on commit 2d5cc8a

Please sign in to comment.