formatting readme

This commit is contained in:
Lauren McCarthy 2016-08-01 18:28:43 +10:00
parent 111faeae68
commit 967231e73e

View file

@ -9,7 +9,7 @@ This project is currently in the early stages of development! It will definitely
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
@ -29,7 +29,7 @@ This project is currently in the early stages of development! It will definitely
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
@ -37,6 +37,7 @@ This project is currently in the early stages of development! It will definitely
AWS_SECRET_KEY=<your-aws-secret-key>
S3_BUCKET=<your-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`