summaryrefslogtreecommitdiff
path: root/Readme.md
diff options
context:
space:
mode:
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/