mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-06 12:11:02 +01:00
feat(readme): Deploy to Heroku button (#1854)
Add a "Deploy to Heroku" button on README.MD
This commit is contained in:
@@ -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.
|
||||
|
||||
[](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
29
app.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user