Results 1 to 4 of 4

Thread: New guy looking for some basic help

  1. #1
    Sencha User
    Join Date
    Jun 2014
    Posts
    6

    Default Answered: New guy looking for some basic help

    Hey guys been doing a lot of research mostly because Ive been wanting to get into application development in my free time. I was able to figure out how to install everything properly and get it to generate the generic application with the loading page which i thought was cool and was able to run it with ripple emulator. My questions are as follow:

    1. The web server, whats the point of running it and having it? I can run the sencha web start command and it starts a web server at http://localhost:1841 but I cant type anything in the command prompt and i dont know what its for mostly. What uses does it have for building an app?

    2. Running sencha -cw so that i can change the directory for whatever reason gives me a missing required arguement error at com.sencha.cli.Arguements.mustPull etc etc. Will that have an effect on me later when i am developing my app?

    Appreciate any help I can get guys like I said still a new person

    1. A (local) web server is needed because modern browsers will block cross origin requests. So then your app will not load. Using a web server you can solve this.
    2. the -cw switch requires an argument. for example '~/senchaCMD/bin'.
    I recommed you to read the following pages in the documentation:
    http://docs.sencha.com/touch/2.3.2/#...etting_started
    http://docs.sencha.com/touch/2.3.2/#!/guide/first_app
    http://docs.sencha.com/touch/2.3.2/#!/guide/command

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2012
    Location
    The Netherlands
    Posts
    99
    Answers
    8

    Default

    1. A (local) web server is needed because modern browsers will block cross origin requests. So then your app will not load. Using a web server you can solve this.
    2. the -cw switch requires an argument. for example '~/senchaCMD/bin'.
    I recommed you to read the following pages in the documentation:
    http://docs.sencha.com/touch/2.3.2/#...etting_started
    http://docs.sencha.com/touch/2.3.2/#!/guide/first_app
    http://docs.sencha.com/touch/2.3.2/#!/guide/command

  3. #3
    Sencha User
    Join Date
    Jun 2014
    Posts
    6

    Default

    I get the number 1 in which we would need the local web server to test our app and etc. But in terms of -cw switch, do I really need it to work? I have read those sources which is why im asking these questions mostly. Essentially have you ever needed to use -cw command and for what

  4. #4
    Sencha Premium Member
    Join Date
    Sep 2012
    Location
    The Netherlands
    Posts
    99
    Answers
    8

    Default

    I've never used . I usually issue the 'sencha' command either inside the SDK or project directory to respectively generate an app or compile it.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •