Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
feat(readme): Deploy to Heroku button (#1854)
Browse files Browse the repository at this point in the history
Add a "Deploy to Heroku" button on README.MD
  • Loading branch information
Ghalleb authored and mleanos committed Sep 21, 2017
1 parent fabccc8 commit 0bf364d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,14 @@ $ docker run -p 27017:27017 -d --name db mongo
$ docker run -p 3000:3000 --link db:db_1 mean
```

## Deploying to PAAS

### Deploying MEANJS To Heroku

By clicking the button below you can signup for Heroku and deploy a working copy of MEANJS to the cloud without having to do the steps above.

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

### Amazon S3 configuration

To save the profile images to S3, simply set those environment variables:
Expand All @@ -219,7 +227,6 @@ S3_BUCKET: the name of the bucket where the images will be saved
S3_ACCESS_KEY_ID: Your S3 access key
S3_SECRET_ACCESS_KEY: Your S3 access key password


## Getting Started With MEAN.JS
You have your application running, but there is a lot of stuff to understand. We recommend you go over the [Official Documentation](http://meanjs.org/docs.html).
In the docs we'll try to explain both general concepts of MEAN components and give you some guidelines to help you improve your development process. We tried covering as many aspects as possible, and will keep it updated by your request. You can also help us develop and improve the documentation by checking out the *gh-pages* branch of this repository.
Expand Down
29 changes: 29 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "meanjs",
"description": "Full-Stack JavaScript with MongoDB, Express, AngularJS, and Node.js",
"repository": "https://github.com/meanjs/mean",
"logo": "http://meanjs.org/img/logo-small.png",
"keywords": [
"mongodb",
"express",
"angularjs",
"node.js",
"mongoose",
"passport"
],
"addons": [
{
"plan": "mongolab:sandbox"
},
{
"plan": "papertrail:choklad"
}
],
"env": {
"NPM_CONFIG_PRODUCTION": "true",
"NPM_CONFIG_LOGLEVEL": "error",
"NODE_ENV": "production",
"NODE_VERBOSE": "false"
}
}
}

0 comments on commit 0bf364d

Please sign in to comment.