summaryrefslogtreecommitdiff
path: root/Readme.md
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-09-02 13:24:55 -0400
committerJules Laplace <jules@okfoc.us>2016-09-02 13:24:55 -0400
commit8def9579f2a78e80652d1e5e6f1eda510ae9a5dd (patch)
treec56d664f04d55f0d75c6d4f5e2d6fc567054498d /Readme.md
parent4ed81fa59119cee66b0413c5662639ec81fea4dc (diff)
parent5052d51aa4c55eabc736b3c76a783db2f5208289 (diff)
merge changes from twohustlers
Diffstat (limited to 'Readme.md')
-rw-r--r--Readme.md36
1 files changed, 22 insertions, 14 deletions
diff --git a/Readme.md b/Readme.md
index 3b2d832..771a1f2 100644
--- a/Readme.md
+++ b/Readme.md
@@ -3,23 +3,31 @@
> "Pretty good"
> - Steve Jobs
-## To configure:
+## To run the demo:
-* Customize schemas and routes in site/index.js as needed
-* Create a file `site/.env` with the following environment variables set:
+* npm install
+* cd examples
+* node index
+
+Server will be running on http://lvh.me:1337/
+
+Admin area available on http://lvh.me:1337/admin/
+
+## Config
+
+To access the admin area, you need to set a username and password.
+To do that create a file called `.env` in the project directory with
+the following contents:
```
-S3_KEY=...
-S3_SECRET=...
-S3_BUCKET=...
-OK_USER=...
-OK_PASS=...
+OK_USER=username
+OK_PASS=password
```
-## To install and run:
-
-* Run `./install.sh`
-* `cd site`
-* `node index`
+S3 needs to be configured in the same way:
+```
+S3_KEY=s3key
+S3_SECRET=s3secret
+S3_BUCKET=bucketname
+```
-Server will be running on http://lvh.me:1337/