Great idea!

On 2/15/18, 12:16 AM, "OmPrakash Muppirala" <[email protected]> wrote:

>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
>
>
>Please test and provide feedback.  It would be greatly appreciated.
>
>Thanks,
>Om

Reply via email to