This is an automated email from the ASF dual-hosted git repository.

andreww pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-docs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 619a9fb  Create Royale-CLI.md
619a9fb is described below

commit 619a9fb0db28bce7a04374542273adf6a0ee363f
Author: Andrew Wetmore <[email protected]>
AuthorDate: Thu Feb 15 10:34:28 2018 -0400

    Create Royale-CLI.md
    
    A starter page about the new command-line tool for npm.
---
 Welcome/Get_Started/Royale-CLI.md | 63 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/Welcome/Get_Started/Royale-CLI.md 
b/Welcome/Get_Started/Royale-CLI.md
new file mode 100644
index 0000000..847c4e4
--- /dev/null
+++ b/Welcome/Get_Started/Royale-CLI.md
@@ -0,0 +1,63 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+# 
+# http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+layout: docpage
+title: Royale CLI
+---
+#Royale CLI
+
+
+As I was trying to write a `Setting up Royale with npm `blog post, I
+realized that things could be much easier for npm users.  So, I built the
+Royale CLI tool.  It takes inspiration from the create-react-app and the
+angular cli projects.
+
+Here are the details:
+
+*To Install: *
+npm install @apache-royale/royale-js -g
+npm install @apache-royale/cli -g
+
+After installation:
+
+*Help *
+royale help
+
+*Setup *
+royale new  my-royale-app
+cd my-royale-app
+
+ This creates a simple app: my-royale-app/src/Main.mxml
+
+
+*Run in debug mode *
+royale serve:debug
+
+ Compiles the project in debug mode
+ Compiles with source map option
+ Starts a http server and serves the files from the bin/js-debug directory
+ Opens the default browser and navigates to http://localhost:3000
+ Listens to src folder
+ When any file changes, it will recompile the app
+ Automatically reloads the browser to show the updated application
+
+*Run in release mode *
+royale serve:release
+
+ Compiles the project in release mode
+ Starts a http server and serves the files from the bin/js-release
+directory
+ Opens the default browser and navigates to http://localhost:3001

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to