feat(readme): Deploy to Heroku button (#1854)

Add a "Deploy to Heroku" button on README.MD
This commit is contained in:
Ghalleb
2017-09-22 06:52:34 +07:00
committed by Michael Leanos
parent fabccc850b
commit 0bf364dbb2
2 changed files with 37 additions and 1 deletions

View File

@@ -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:
@@ -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.

29
app.json Normal file
View File

@@ -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"
}
}
}