Category Archives: Environment

The future of Sencha’s build tools

Posted on in Cmd Environment ES2015

Sencha Cmd is Java based, and makes use of Apache Ant. You can find all the jar libs when you navigate to the installation folder of Cmd. For Windows: C:/Documents and Settings/{username}/bin/Sencha/Cmd/{cmd-version} For Mac OSX: ~/bin/Sencha/Cmd/{cmd-version} For Ext JS 4, 5 and 6; the best way to develop and kickstart your applications is by running […]

Read more »

How to use the Sencha visual studio plugin

Posted on in Environment

I'm using Visual Studio 2015 Community on Windows 10. Here's how you can start using it: Create a new project: File > New Project > Sencha > Ext JS Workspace Choose a folder on your hard drive that contains the SDK (for example: ext-6.0.2) Choose the Sencha installation folder (for example: C:\Windows\Users\username\bin\Sencha\Cmd\6.1.2.15) It will take […]

Read more »

How to use the Sencha visual studio plugin with existing projects

Posted on in Environment

I'm using Visual Studio 2015 Community on Windows 10. Here's how I use the plugin in combination with existing Sencha projects on my file system. First create a blank project: File > New Project Select: Other Project Types > Visual Studio Solution > Blank Solution Now we will add a Sencha project/workspace folder to the […]

Read more »

Unix / Mac OSX: How to find a strings in multiple files?

Posted on in Environment Unix

Ever need to search through all your files for a certain word or phrase? You will need the grep command for this. Handy, and it's recursive, which means you can search through your entire directory tree, scanning every file along the way. grep -r "foo" /mypath The "-r" switch, tells "grep" to scan files in […]

Read more »

Tutorial: Full-stack JavaScript for the Enterprise Getting started with: Ext JS, Node.js, Express, MongoDB and Docker. (8)

Posted on in Docker Environment

This is the last part of this tutorial series, it will cover Github and the Docker Hub. Github Navigate to github, to add a new repository: https://github.com/new Create two git repositories: docker-ext-client docker-node-server Add a .gitignore file to the following folders: dockerextnode/client/ dockerextnode/server/dockerextdjango/ It should contain the following ignore rules: https://gist.github.com/savelee/970c0d72195ed5b9ca7c5ca533d0a4de Type for both folders, […]

Read more »

Tutorial: Full-stack JavaScript for the Enterprise Getting started with: Ext JS, Node.js, Express, MongoDB and Docker. (7)

Posted on in Docker Environment

This is part VII of the tutorial, and covers: Docker Compose Docker Compose: Linking containers Docker Compose is a tool for defining and running multi-container Docker applications. Docker is a great tool, but to really take full advantage of its potential it's best if each component of your application runs in its own container. For […]

Read more »

Tutorial: Full-stack JavaScript for the Enterprise Getting started with: Ext JS, Node.js, Express, MongoDB and Docker. (6)

Posted on in Docker Environment

This is part VI of the tutorial, and covers Docker. Docker: Containerize your apps A Docker container is similar to a virtual machine. It basically allows you to run a pre-packaged "Linux box" inside a container. The main difference between a Docker container and a typical virtual machine is that Docker is not quite as […]

Read more »

Tutorial: Full-stack JavaScript for the Enterprise. Getting started with: Ext JS, Node.js, Express, MongoDB and Docker. (5)

Posted on in Docker Environment Ext JS 6 MongoDB Node JS NoSQL

This is part V of the tutorial, and covers how the Ext JS client app can consume the server Node.js API Let the Ext JS app consume your API By now we have a working back-end with Node, and a working front-end with Sencha. Now we are ready to modify our Sencha app, so we […]

Read more »

Tutorial: Full-stack JavaScript for the Enterprise. Getting started with: Ext JS, Node.js, Express, MongoDB and Docker. (4)

Posted on in Environment Node JS

This is part IV of the tutorial, and covers: Setting up CORS on Node.js Once we are done with all the tutorials, you will have a working back-end with Node.js / Express 4 and a working front-end, with Ext JS. Only there will be one problem. The client, can’t reach the JSON backend, because both […]

Read more »

Mac OSX error: Sauce Labs – Error fetching PAC

Posted on in Environment

I'm using Sencha Test together with the Sauce Labs browser farm. In order to see all the various browsers in my Sencha Test Studio, I have to setup a Sauce Labs Connect tunnel. You can download it from here: https://wiki.saucelabs.com/display/DOCS/Setting+Up+Sauce+Connect Extract the zip, and place the contents of the folder under this location: /Users/username/bin/SauceLabs/sauceconnect/ Create […]

Read more »