From ab01be765d0e3550dba84458e72e5ec76496150f Mon Sep 17 00:00:00 2001 From: Perry Govier Date: Tue, 2 Feb 2016 12:46:04 -0600 Subject: [PATCH] docs(demos): copy explanation of how to update component demos on ionic-site --- scripts/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/README.md b/scripts/README.md index 0734dd2cfa..336b685b23 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -65,7 +65,14 @@ 6. Sit back and have a beer :beer: (or wine :wine_glass:) ### Releasing Component Demos -See [ionic-preview-app](https://github.com/driftyco/ionic-preview-app#updating-ionic-site) + +(Copied from [ionic-preview-app](https://github.com/driftyco/ionic-preview-app#updating-ionic-site), check there for updates) + +- Set [production mode](https://github.com/driftyco/ionic-preview-app/blob/master/app/app.ts#L11) to true +- Rebuild app +- Copy the contents of this entire repo to `ionic-site/dist/preview-app/` (`cp -R * ../path/to/ionic-site/dist/preview-app/`) + + ### Releasing API Demos Ionic API demos are automatically compiled and deployed to the [ionic staging site](http://ionic-site-staging.herokuapp.com/) on every commit. No action is necessary.