summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-06-10 19:47:40 +0200
committerJules Laplace <julescarbon@gmail.com>2017-06-10 19:47:49 +0200
commit8a576dae76a41cd56f15e14c817a0919cc006e4e (patch)
tree0efd7b4b67e9a352ffc8fc3e86c0345370f1ac1f
parent4b44be3c1c4869a71c3000d3be64ebd4a3769887 (diff)
documenting the cms
-rw-r--r--README.md38
1 files changed, 35 insertions, 3 deletions
diff --git a/README.md b/README.md
index 2159574..eba61cc 100644
--- a/README.md
+++ b/README.md
@@ -1,18 +1,50 @@
# armory-fmf-cms
-## CMS For Find My Face App
+## Hansel and Gretel Website
+
+The Hansel and Gretel Website is a port of the FMF iPad app, minus the face detection features. It uses react-native-web.
+This codebase is a fork of the iPad app, with many alterations to make the app work in multiple web environments (desktop, mobile).
### Initial setup
+The CMS code relies on a private repository. Please contact Jules for access.
+
```
npm install
cd client
npm install
```
+### Run the CMS
+
+Create an `.env` file with the following variables:
+
+```
+S3_KEY=
+S3_SECRET=
+S3_BUCKET=
+S3_DIRNAME=
+OK_USER=
+OK_PASS=
+OK_PRODUCTION=false
+MAILGUN_API_KEY=
+MAILGUN_DOMAIN=
+MAIL_SECRET=
+PORT=8100
+WEBHOOK_SECRET=awwSTUDIO
+```
+
+Then run the CMS:
+
+```
+npm index
+```
+
+This will start the CMS running on the port specified, e.g. http://localhost:8100/
+
### Building the client
-Build the client locally and push that up.
+Build the client locally and push that up to Digital Ocean.
```
cd client
@@ -21,7 +53,7 @@ npm web:build
git push
```
-### Deploy
+### Deploy the changes
```
ssh ja@armory