aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md18
-rw-r--r--package.json4
2 files changed, 12 insertions, 10 deletions
diff --git a/README.md b/README.md
index b1f3d7f..8fa35d1 100644
--- a/README.md
+++ b/README.md
@@ -2,24 +2,28 @@
Share costs with a group of people.
-## Usage
+## Required dependencies
+
+- `cabal2nix`
+- `nix-shell`
+- `cabal-install`
+- `npm`
+- `elm
-Install the nix package manager and get `cabal-install` and `cabal2nix`.
+## Usage
```
cabal2nix --shell . > shell.nix
nix-shell -I ~ --command 'cabal configure'
npm install
-npm run elm-install
+elm package install
npm start
```
## Configuration
-Here is an example configuration file:
-
```
-hostname = localhost:3001
-port = 3001
+hostname = localhost:3000
+port = 3000
currency = €
```
diff --git a/package.json b/package.json
index d3cd564..618dc36 100644
--- a/package.json
+++ b/package.json
@@ -1,10 +1,8 @@
{
"devDependencies": {
- "watch": "0.17.1",
- "elm": "0.16.0"
+ "watch": "0.17.1"
},
"scripts": {
- "elm-install": "elm package install",
"start": "npm run watch",
"watch": "npm run watch-server & npm run watch-elm & npm run watch-js",