aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris2016-02-21 22:39:38 +0100
committerJoris2016-02-21 22:39:38 +0100
commit5358cf7ff94a19408b3d6f2fc5fb03a51bb8b2a1 (patch)
tree9e0177eaf75b871622c8baea961f35b55c4e43f0
parenta8097b11f43ca88434a79b107c3e29b86b4c702d (diff)
downloadbudget-5358cf7ff94a19408b3d6f2fc5fb03a51bb8b2a1.tar.gz
budget-5358cf7ff94a19408b3d6f2fc5fb03a51bb8b2a1.tar.bz2
budget-5358cf7ff94a19408b3d6f2fc5fb03a51bb8b2a1.zip
Stop installing elm with npm
-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",