summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-06-22 02:04:21 +0200
committerJules Laplace <julescarbon@gmail.com>2017-06-22 02:04:21 +0200
commit5d243365079faca7790beb211c786f098693413b (patch)
tree64ccca408a699a585eae2d23d4b0ef63c7ccbed8
parentb12473e7e1b1e355163e421911052a3dbbd36486 (diff)
notes
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index e4d38e5..f54d28f 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ npm install -g webpack-cli
scp web@giraffe.life:pepper-paintings/.env .
```
-Change `OK_PRODUCTION` to false in the `.env`
+Change `OK_PRODUCTION` to false in the `.env` before running the app.
### Run the CMS
@@ -19,6 +19,14 @@ node index
Using the `.env` above, the CMS will run on http://lvh.me:6555/
+Be aware that the `db.json` file is committed as part of the repo.
+If you edit your local database, try not to cause a merge conflict :)
+You can always pull the database from the server:
+
+```
+curl http://pepper.giraffe.life/db.json > db.json
+```
+
### Watch for changes
@@ -40,3 +48,4 @@ pm2 list
pm2 info pepper
pm2 restart pepper
```
+