From 74734035648e64d1cc1a03e7fe9119305ae621a7 Mon Sep 17 00:00:00 2001 From: Lauren McCarthy Date: Mon, 1 Aug 2016 18:26:53 +1000 Subject: [PATCH] formatting readme --- README.md | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 34910999..e10357b7 100644 --- a/README.md +++ b/README.md @@ -8,16 +8,15 @@ This project is currently in the early stages of development! It will definitely 2. `$ npm install` 3. Install MongoDB and make sure it is running 4. Create a file called `.env` in the root of this directory that looks like -```bash -MONGO_URL=mongodb://localhost:27017/p5js-web-editor -PORT=8000 -SESSION_SECRET=whatever_you_want_this_to_be_it_only_matters_for_production -AWS_ACCESS_KEY= -AWS_SECRET_KEY= -S3_BUCKET= -``` -Or, if you don't want to do that, just ask me to send you mine. Refer to [this gist](https://gist.github.com/catarak/70c9301f0fd1ac2d6b58de03f61997e3) for creating an S3 bucket for testing, or if you don't want to do that, I will send you my AWS credentials. - + ```bash + MONGO_URL=mongodb://localhost:27017/p5js-web-editor + PORT=8000 + SESSION_SECRET=whatever_you_want_this_to_be_it_only_matters_for_production + AWS_ACCESS_KEY= + AWS_SECRET_KEY= + S3_BUCKET= + ``` + Or, if you don't want to do that, just ask me to send you mine. Refer to [this gist](https://gist.github.com/catarak/70c9301f0fd1ac2d6b58de03f61997e3) for creating an S3 bucket for testing, or if you don't want to do that, I will send you my AWS credentials. 5. `$ npm start` 6. Navigate to (http://localhost:8000)[http://localhost:8000] in your browser 7. Install the [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en). @@ -28,16 +27,15 @@ Or, if you don't want to do that, just ask me to send you mine. Refer to [this g 2. `$ npm install` 3. Install MongoDB and make sure it is running 4. Create a file called `.env` in the root of this directory that looks like -```bash -MONGO_URL=mongodb://localhost:27017/p5js-web-editor -PORT=8000 -SESSION_SECRET=make_this_a_long-random_string_like_maybe_126_characters_long -AWS_ACCESS_KEY= -AWS_SECRET_KEY= -S3_BUCKET= -``` -Or, if you don't want to do that, just ask me to send you mine. Refer to [this gist](https://gist.github.com/catarak/70c9301f0fd1ac2d6b58de03f61997e3) for creating an S3 bucket for testing, or if you don't want to do that, I will send you my AWS credentials. - + ```bash + MONGO_URL=mongodb://localhost:27017/p5js-web-editor + PORT=8000 + SESSION_SECRET=make_this_a_long-random_string_like_maybe_126_characters_long + AWS_ACCESS_KEY= + AWS_SECRET_KEY= + S3_BUCKET= + ``` + Or, if you don't want to do that, just ask me to send you mine. Refer to [this gist](https://gist.github.com/catarak/70c9301f0fd1ac2d6b58de03f61997e3) for creating an S3 bucket for testing, or if you don't want to do that, I will send you my AWS credentials. 5. `$ npm run build` 6. `$ npm run start:prod`