From 3b0c57fda690653e01571ae61574a17d8a46f147 Mon Sep 17 00:00:00 2001 From: gdub22 Date: Sun, 14 Sep 2014 13:23:29 -0400 Subject: [PATCH] update config setup --- .gitignore | 3 ++- README.md | 4 +--- server/{config.json => config.example.json} | 0 3 files changed, 3 insertions(+), 4 deletions(-) rename server/{config.json => config.example.json} (100%) diff --git a/.gitignore b/.gitignore index 3a9f4892a..9dc0593e3 100644 --- a/.gitignore +++ b/.gitignore @@ -33,4 +33,5 @@ bower_components # Builds dist/ -export.sh +server/config.json +export.sh \ No newline at end of file diff --git a/README.md b/README.md index 4402a686b..35fe9e3a3 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ A modern, minimalist WYSIWYG editor. ## Playing 1. Build -2. For image uploading and embedding, enter your credentials in `server/config.json` +2. Copy or rename `server/config.example.json` to `server/config.json`. Then optionally add your credentials to the file for image uploading and embedding. 3. Start the server: `npm start` 4. Navigate to the demo at [http://localhost:5000](http://localhost:5000) @@ -22,7 +22,5 @@ A modern, minimalist WYSIWYG editor. ## Dev tips - `gulp watch` to auto build/test as you save files -- Running the server is only necessary if you want image uploads and embeds. You can just open demo/index.html - --- diff --git a/server/config.json b/server/config.example.json similarity index 100% rename from server/config.json rename to server/config.example.json