/staticfile-buildpack

Deploy static HTML/JS/CSS apps to Cloud Foundry

Primary LanguageShellMIT LicenseMIT

Deploy Angular - Single Page Applications + **Basic SEO & Deep Linking Enabled

This Cloud Foundry Buildpack was modified from the original to enable googlebot crawling and deep linking. Allowing pages to be indexed using the google web master tools.

Deployment

After compiling the Angular - single page application take the "generated" or "distribution" folder and run the command below in the terminal.

cf push my-site -m 64M -b https://github.com/cloudgate313/staticfile-buildpack.git

See original buildpack for a more indepth explaination here.

Acknowledgements (resources)

Alexey Kutuzov's nginx.conf configurations and nginx use cases.

Jesse Lawson's overview on seo for single page applications.

**Basic:

This is not a complete optimized solution for seo. Cached snapshots passed to bots and auto indexing is the next step. Currently developing a solution that can be easily deployed to Cloud Foundry. Suggestions are encouraged.

Read me created with Mou mark down editor for mac.