https://github.com/randomvariable/caseworker
Open source administration software for caseworkers
https://github.com/randomvariable/caseworker
Last synced: 8 months ago
JSON representation
Open source administration software for caseworkers
- Host: GitHub
- URL: https://github.com/randomvariable/caseworker
- Owner: randomvariable
- Created: 2018-09-11T23:37:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-11T22:47:26.000Z (over 7 years ago)
- Last Synced: 2025-01-14T14:11:34.513Z (about 1 year ago)
- Language: Clojure
- Homepage:
- Size: 991 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Caseworker
Open source administration software for Caseworkers
## Development Mode
To run caseworker locally you will need:
* docker/docker-compose
* leiningen
* sass
If you want to be able to connect to the local dev database, you'll need `psql` too (you can use a docker container for this if you prefer).
### Run application:
```
make up # start service dependencies
lein do clean, cljsbuild once dev, repl # make sure you have a fresh CLJS build and start the REPL
user=> (go) ;; start the app (including figwheel and sass watcher components)
```
Sass will automatically rebuild any changed files in `src/sass`.
Figwheel will automatically push cljs or sass changes to the browser.
Browse to [http://localhost:9000](http://localhost:9000) to see the running app.
### Run tests:
Install karma and headless chrome
```
npm install -g karma-cli
npm install karma karma-cljs-test karma-chrome-launcher --save-dev
```
And then run your tests
```
lein clean
lein doo chrome-headless test once
```
Please note that [doo](https://github.com/bensu/doo) can be configured to run cljs.test in many JS environments (phantom, chrome, ie, safari, opera, slimer, node, rhino, or nashorn).
## Deploying to staging
TBD, probably heroku
## Deploying to production
TBD
## API Docs
When you have the app running, visit [http://localhost:9000](http://localhost:9000) to see Swagger docs for the API.