diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-09-02 13:24:55 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-09-02 13:24:55 -0400 |
| commit | 8def9579f2a78e80652d1e5e6f1eda510ae9a5dd (patch) | |
| tree | c56d664f04d55f0d75c6d4f5e2d6fc567054498d /Readme.md | |
| parent | 4ed81fa59119cee66b0413c5662639ec81fea4dc (diff) | |
| parent | 5052d51aa4c55eabc736b3c76a783db2f5208289 (diff) | |
merge changes from twohustlers
Diffstat (limited to 'Readme.md')
| -rw-r--r-- | Readme.md | 36 |
1 files changed, 22 insertions, 14 deletions
@@ -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/ |
