Book Image

Dart By Example

By : David Mitchell
Book Image

Dart By Example

By: David Mitchell

Overview of this book

Table of Contents (17 chapters)
Dart By Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Deployment


After a long tough software development project, having issues to get the final product running on the live system can be extremely stressful if there is a last minute hitch. It is good to think about deployment early in the development process, so that the application is suitable for the target environment.

We will take a look at how to deploy Dart on two common environments—Windows and Unix. Of course, every individual system can vary on the details, so you may have to check for equivalent settings or programs on your system and take into account any currently running applications, such as web servers.

Dependencies

The Dart SDK itself is the key dependency for any Dart server application. The application is run via the dart command-line application, with the main.dart script passed as a parameter.

This is straightforward for an interactive session; however, for a server application, we need to run the application when there is no user logged into the machine.

Tip

The Dart SDK is available...