-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
123 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
API_URL=/api | ||
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=<your-aws-access-key> | ||
AWS_SECRET_KEY=<your-aws-secret-key> | ||
AWS_REGION=<your-aws-region> | ||
S3_BUCKET=<your-s3-bucket> | ||
AWS_SECRET_KEY=<your-aws-secret-key> | ||
EMAIL_SENDER=<transactional-email-sender> | ||
EMAIL_VERIFY_SECRET_TOKEN=whatever_you_want_this_to_be_it_only_matters_for_production | ||
EXAMPLE_USER_EMAIL=[email protected] | ||
EXAMPLE_USER_PASSWORD=hellop5js | ||
GG_EXAMPLES_EMAIL=[email protected] | ||
GG_EXAMPLES_PASS=generativedesign | ||
GG_EXAMPLES_USERNAME=generative-design | ||
GITHUB_ID=<your-github-client-id> | ||
GITHUB_SECRET=<your-github-client-secret> | ||
GOOGLE_ID=<your-google-client-id> (use google+ api) | ||
GOOGLE_SECRET=<your-google-client-secret> (use google+ api) | ||
MAILGUN_DOMAIN=<your-mailgun-domain> | ||
MAILGUN_KEY=<your-mailgun-api-key> | ||
EMAIL_SENDER=<transactional-email-sender> | ||
EMAIL_VERIFY_SECRET_TOKEN=whatever_you_want_this_to_be_it_only_matters_for_production | ||
MONGO_URL=mongodb://localhost:27017/p5js-web-editor | ||
PORT=8000 | ||
S3_BUCKET=<your-s3-bucket> | ||
S3_BUCKET_URL_BASE=<alt-for-s3-url> | ||
EXAMPLE_USER_EMAIL=[email protected] | ||
EXAMPLE_USER_PASSWORD=hellop5js | ||
GG_EXAMPLES_USERNAME=generative-design | ||
GG_EXAMPLES_PASS=generativedesign | ||
GG_EXAMPLES_EMAIL=[email protected] | ||
SESSION_SECRET=whatever_you_want_this_to_be_it_only_matters_for_production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: MONGO_URL=$MONGO_URI MAILGUN_KEY=$MAILGUN_API_KEY npm run start:prod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{ | ||
"name": "p5.js Web Editor", | ||
"description": "The p5.js Web Editor is an in-browser editor for creative coding, specifically for writing p5.js sketches.", | ||
"repository": "https://github.com/processing/p5.js-web-editor", | ||
"logo": "https://p5js.org/assets/img/p5js.svg", | ||
"keywords": ["processing", "p5js", "p5.js"], | ||
"addons": [ | ||
{ | ||
"plan": "mongolab:sandbox", | ||
"as": "MONGO" | ||
}, | ||
{ | ||
"plan": "mailgun:starter", | ||
"as": "MAILGUN" | ||
} | ||
], | ||
"env": { | ||
"API_URL": { | ||
"value": "/api" | ||
}, | ||
"AWS_ACCESS_KEY": { | ||
"description": "AWS Access Key", | ||
"value": "placeholder" | ||
}, | ||
"AWS_SECRET_KEY": { | ||
"description": "AWS Secret Key", | ||
"value": "placeholder" | ||
}, | ||
"AWS_REGION": { | ||
"description": "AWS Region for the S3_BUCKET", | ||
"value": "placeholder" | ||
}, | ||
"EMAIL_SENDER": { | ||
"description": "The sending email address for transactional emails.", | ||
"value": "[email protected]" | ||
}, | ||
"EMAIL_VERIFY_SECRET_TOKEN": { | ||
"description": "A secret key for...? Not sure where used.", | ||
"generator": "secret" | ||
}, | ||
"EXAMPLE_USER_EMAIL": { | ||
"description": "The email address for the account holding the default Example sketches", | ||
"value": "[email protected]" | ||
}, | ||
"EXAMPLE_USER_PASSWORD": { | ||
"value": "hellop5js" | ||
}, | ||
"GG_EXAMPLES_EMAIL": { | ||
"description": "The email address for the account holding the Generative Design Example sketches", | ||
"value": "[email protected]" | ||
}, | ||
"GG_EXAMPLES_PASS": { | ||
"value": "generativedesign" | ||
}, | ||
"GG_EXAMPLES_USERNAME": { | ||
"value": "generative-design" | ||
}, | ||
"GITHUB_ID": { | ||
"description": "The GitHub Client Id for sign in with GitHub support", | ||
"value": "placeholder" | ||
}, | ||
"GITHUB_SECRET": { | ||
"description": "The GitHub Client Secret", | ||
"value": "placeholder" | ||
}, | ||
"GOOGLE_ID": { | ||
"description": "The Google Client Id for sign in with Google support", | ||
"value": "placeholder" | ||
}, | ||
"GOOGLE_SECRET": { | ||
"description": "The Google Client Secret", | ||
"value": "placeholder" | ||
}, | ||
"NODE_ENV": { | ||
"value": "production" | ||
}, | ||
"S3_BUCKET": { | ||
"desription": "Name of the S3 bucket for asset storage", | ||
"value": "placeholder" | ||
}, | ||
"S3_BUCKET_URL_BASE": { | ||
"description": "S3 bucket URL base", | ||
"required": false | ||
}, | ||
"SESSION_SECRET": { | ||
"description": "A secret key for verifying the integrity of signed cookies.", | ||
"generator": "secret" | ||
} | ||
}, | ||
"scripts": { | ||
"postdeploy": "MONGO_URL=$MONGO_URI MAILGUN_KEY=$MAILGUN_API_KEY npm run fetch-examples:prod" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters