Very good idea! On Thu, Feb 15, 2018 at 5:46 AM, Carlos Rovira <[email protected]> wrote:
> So cool Om! Great! > I'm very busy right now with lots of fronts, but let me know if you need > help from me in order to create the blog post. > You can contact me offline in order to support in this task as much as you > can > thanks for making this! > > 2018-02-15 10:20 GMT+01:00 Gabe Harbs <[email protected]>: > > > Very cool! Great initiative! > > > > I’ll try to give it a spin later. > > > > Is there a way of creating different templates for the “new” command? > > > > BTW, it would be really great to try to stick to dog-fooding to have as > > many samples of Royale use as possible. > > > > This tool can be written in ActionScript and compiled for node.js using > > Royale. > > > > Harbs > > > > > On Feb 15, 2018, at 10: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 > > > > > > > -- > Carlos Rovira > http://about.me/carlosrovira > -- Andrew Wetmore http://cottage14.blogspot.com/
