AngularJS Deployment Essentials
eBook - ePub

AngularJS Deployment Essentials

Zachariah Moreno

Buch teilen
  1. 148 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

AngularJS Deployment Essentials

Zachariah Moreno

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist AngularJS Deployment Essentials als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu AngularJS Deployment Essentials von Zachariah Moreno im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Informatica & Programmazione in JavaScript. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

AngularJS Deployment Essentials


Table of Contents

AngularJS Deployment Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Our App and Tool Stack
The right tools for the job
Version control with Git and GitHub
Node.js
NPM
Yeoman's workflow
Yo
Installing Yo
Grunt
Bower
The Ionic framework
Batarang
Sublime Text and Editor integration
Krakn
Setting up Git and GitHub
Scaffolding the app with Yo
Development
Views, controllers, and routes
The login view
The chat view
The account view
The menu view
The about view
Global controller constants
Models and services
Predeployment
Summary
2. Deploying to Apache
From local to remote
Deployment destination
A comparison between the local and remote setup
Manual deployment
FTPing from your command line
FTP clients
Automating deployment with GitHub and SSH
Troubleshooting deployment issues
A visual diff tool
Using diff with Git
Configuring Apache for Angular
Google's PageSpeed Service for Apache
Summary
3. Deploying to Heroku
Setting up your Heroku environment
Creating an account
Heroku's dashboard
Defining a new application
The Heroku Toolbelt
Installation
SSH access
New app in Toolbelt
New app in dashboard
Heroku branch
Predeployment configuration
Express
Gzippo
Package.json
The Procfile
Web.js
Scaling and deploying to Heroku
Dynos
Scalability
Add-ons
Troubleshooting deployment issues
Summary
4. Deploying to Firebase Hosting
The Firebase setup
Creating your Firebase account
Using the Firebase Forge dashboard
Using the Data view
Using the Security Rules view
Using the Simulator view
Using the Analytics view
Using the Simple Login view
Hosting your application
Using the firebase-tools CLI
Configuring your Firebase environment
Troubleshooting deployment issues
HTTP resources served over HTTPS
Summary
5. Deploying a Mobile App
Context is the king
What is Apache Cordova and how does it address issues?
Configuring your development environment for Apache Cordova
A word on Cordova's dependencies
Installing Apache Cordova
Installing the Android SDK
Configuring the Android SDK and tools
OS X configuration
Windows configuration
Installing an Android target and creating an emulator
From Angular web applications to hybrid mobile apps with Cordova
Deploying your app to an emulator
Moving your code into /www
Deploying your app to your physical device with Cordova
From Angular web applications to mobile apps with the Cordova Chrome App toolchain
Configuring your development environment for the Cordova Chrome App toolchain
Packaging your Angular web application for mobile with CCA
From Angular web applications to mobile apps with PhoneGap Build
Publishing your application
Signing your .apk file
Publishing to the Google Play Store
Troubleshooting deployment issues
Summary
6. Deploying as Chrome Apps
Why Chrome Apps?
Choosing the best app type
The Chrome App setup
Augmenting your Angular App for Chrome
The manifest.json file
Icons
Content security policy
Other ways to customize your manifest.json file
The background.js file
Deploying to your Chrome instance
Troubleshooting deployment issues
Deploying to the Chrome Web Store
Summary
7. Postdeployment
Features and fixes
Adding support to Google Analytics
Setting up the angular-google-analytics module
Deploying updates to Apache
The FTP command-line interface
An FTP client
Git and SSH
Deploying updates to Heroku
Deploying updates to Firebase Hosting
Deploying updates to mobile apps
Deploying updates to the local emulator with Cordova
Deploying updates to the physical device with Cordova
Deploying updates to the local emulator with CCA
Deploying updates to the physical device with CCA
Building updates with PhoneGap Build
Deploying updates to Google Play Store
Deploying updates to Chrome App
Packing updates with your local Chrome instance
Deploying updates to the Chrome Web Store
Summary
8. Conclusion – AngularJS Deployment Essentials
Developing a dynamic tool stack
Deploying early and deploying
Index

AngularJS Deployment Essentials

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: February 2015
Production reference: 1250215
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78398-358-2
www.packtpub.com

Credits

Author
Zachariah Moreno
Reviewers
Kent C. Dodds
Ladislav Gažo
K. Aava Rani
Commissioning Editor
Andrew Duckworth
Acquisition Editors
Richard Harvey
James Jones
Content Development Editor
Adrian Raposo
Technical Editors
Ruchi Desai
Rosmy George
Copy Editors
Rashmi Sawant
Ashwati Thampi
Project Coordinator
Kinjal Bari
Proofreaders
Maria Gould
Paul Hindle
Chris Smith
Indexer
Rekha Nair
Graphics
Disha Haria
Abhinash Sahu
Production Coordinator
Nilesh R. Mohite
Cover Work
Nilesh R. Mohite

About the Author

Zachariah Moreno is a 23-year-old w...

Inhaltsverzeichnis