Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
Prev Previous commit
Next Next commit
feat(gen:cloudfoundry): update readme
  • Loading branch information
gregz67 committed Oct 4, 2014
commit d73b5730863517302a3276044431cb97b61e603c
33 changes: 32 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AngularJS Full-Stack generator [![Build Status](https://travis-ci.org/DaftMonk/generator-angular-fullstack.svg?branch=master)](http://travis-ci.org/DaftMonk/generator-angular-fullstack) [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/DaftMonk/generator-angular-fullstack)
# AngularJS Full-Stack generator [![Build Status](https://travis-ci.org/DaftMonk/generator-angular-fullstack.svg?branch=master)](http://travis-ci.org/DaftMonk/generator-angular-fullstack)

> Yeoman generator for creating MEAN stack applications, using MongoDB, Express, AngularJS, and Node - lets you quickly set up a project following best practices.

Expand Down Expand Up @@ -78,6 +78,7 @@ Available generators:
* Deployment
- [angular-fullstack:openshift](#openshift)
- [angular-fullstack:heroku](#heroku)
- [angular-fullstack:cloudfoundry](#cloudfoundry)

### App
Sets up a new AngularJS + Express app, generating all the boilerplate you need to get started.
Expand Down Expand Up @@ -291,6 +292,36 @@ Commit and push the resulting build, located in your dist folder:
grunt buildcontrol:heroku


### Cloud Foundry / Pivotal Web Services

Deploying to Cloud Foundry can be done with these steps.

yo angular-fullstack:cloudfoundry

To work with your new Cloud Foundry app using the command line, you will need to run any `cf` commands from the `dist` folder.


If you're using mongoDB you will need to create a service (MongoLab) and bind it to your app:

cf create-service mongolab sandbox my-mongo
cf bind-service my-app my-mongo

>
> If you're using any oAuth strategies, you must set environment variables for your selected oAuth. For example, if we're using **Facebook** oAuth we would do this :
>
> cf set-env my-app FACEBOOK_ID id
> cf set-env my-app FACEBOOK_SECRET secret
>

#### Pushing Updates

grunt

Deploy the resulting build, from your `dist` folder:

cf push


## Bower Components

The following packages are always installed by the [app](#app) generator:
Expand Down