GithubHelp home page GithubHelp logo

senchaapp_start's Introduction

SenchaApp_Start

Step by step approach for the building of a Sencha Ext-JS 6.2 application

Let's walk through the steps of creating the app we've been working on above in a real world environment.

Download the Ext JS Framework

If you have not already done so, download and unpack the Ext JS framework from either the Products section of the main Sencha website (www.sencha.com) or from the downloads section of the Sencha Support portal.

Download the Sample Application

You can download from Github by clicking the green "Clone or Download" button. Then just click "Download Zip" and save the file to your machine.

Once downloaded, move the folder to wherever you'd like your application to live.

Add Sencha Cmd to your App

Once you have your application where you want it, "cd" into its directory in your Command Line Interface (CLI). Then, issue the following command:

sencha -sdk /path/to/extjs/ app install
sencha -sdk \WebRoot\ext app install <<--- Run on my machine

Sencha Cmd v6.2.0.103 [INF] Using existing workspace at D:\WebRoot\htdocs\sencha\App2\QuickStart [INF] Workspace does not have framework ext at D:\WebRoot\htdocs\sencha\App2\QuickStart ... copying [INF] Package is already local: ext/6.0.0.640 [INF] Extracting : ....................

So run CMD Upgrade pointing to the desired package... > sencha app upgrade \WebRoot\ext Sencha Cmd v6.2.0.103 [INF] Loading configuration for framework directory: D:\webroot\ext [INF] Copying framework to D:\WebRoot\htdocs\sencha\App2\QuickStart\ext [INF] Upgrading to Ext JS 6.x [INF] Upgrading to sdk at D:\webroot\ext [INF] Application structure already at current cmd version

Followed by an APP BUILD and APP WATCH > sencha app build > sencha app watch

Note to make debugging easier you could use the TESTING option to the build command (but you loose that feature if running with WATCH) to generate a non minified version of the app in the build/testing folder

Note: Before running the build, check out the app.json file for the toolkit and theme being used (classic toolkit and theme-classic or theme-neptune)

"toolkit": "classic",
"theme": "theme-classic",




http://localhost:1841/

senchaapp_start's People

Contributors

barlowm avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.