BTW, I have tested this on Windows: power shell, command prompt and git
bash.  They all work fine.
Someone needs to test on Mac and tell me what happens :-)

Thanks,
Om

On Thu, Feb 15, 2018 at 12:16 AM, OmPrakash Muppirala <omup...@gmail.com>
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