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

Posted on in Docker Environment

speed dating 3 game online
jämförelse av dejtingsidor
bauer sucht frau 2009 scheunenfest video
cipierre.pl
visual studio c# kostenlos
english speaking course online chat
black singles christian dating service
dejtingsida oslo jobb
prostituee la plus chere
estate.myanmar9e.com
diament-ws.b-net.pl
estrich-helgers.de
neteducationdesign.com
moracchini.com
otbabushek.ru
mbspro.pl
abrem.org.br
studenten singlebörse heidelberg
anwalt-boelts.de
zaalverhuur-boskapel.nl
liamouka.com
pnwecommerce.com
prostituée des bleus
pescandogigantes.com.br
dejtingsajter otrogna islam
game-engineering.com
partnervermittlung süddeutsche zeitung
meet singles over 40 toronto
goverdson.nl
private partnersuche anzeigen
ladcc.org
partnervermittlung rosenheim umgebung
svadbaninov.ru
ofertas-hoteles-12345-estrellas-baratos.com
rosinochka.url.ph
computers174.ru
gruppovola.it
online chatting facebook now
tehnomachrb.ru
comment cracker rencontre hard
nhatrangflats.com
chat sexe gironde
nvimedialv.com
incontri per adulti pordenone
wakkowarner.com
best latest online dating site
heatwithwind.org
what to say in first online dating message to a guy
fiftybetter.com
la rencontre entre les lymphocytes et les bactéries
serveon.de
lr-center.com
dating in uk free
jämför nätdejting
danielduart.com
tropicalnails.ca
ewjgroup.com
ostaustria.org
frauen suchen männer chemnitz
donna bakeca brescia
nätdejting svd xerxes
sansparaben.net
icilabasetailleurs.com
profilbild dejting jönköping
rotuloscabanas.es
busch-henning.de
nätdejting krönika jobb
chat ragazze gratis
warum ist es so schwer den richtigen partner zu finden
logos41.ru
pixelpuper.de
s77086.gridserver.com
rencontre pour celibataire sur facebook
rencontre avec le mal samuel allocine
tus08.de
nätdejting chatt kep
russkoe-podvorie.ru
cymaplatinum.com
barmovil.cl
comuni di monza
rencontrer vin diesel
danceway.su
tutti i siti di incontro
e-svy.com
eurostandart32.ru
alla dejtingsidor på samma ställe göteborg
rencontre des luthiers 2013
rencontres extra conju
dejtingsidor thailand hus
kotzampasakis.gr
deentertainmentspecialist.nl
restaurantelataperiadel10.com
recherche rencontre nancy
donne in amore mymovies
safwa-school-faisal.com
prostituee ille et vilaine
masaki-seikotsuin.com
dejt chatt kep
istanbulhaircenter.com
learningexpress.asia
mord dejtingsajt flashback skvaller
accro aux rencontres sur internet
stofatapiterie.ro
dejta kollega dikt
rencontre austin mini
annonce rencontre rabat
litrivi.com
base chat österreich kostenlos
sito per incontrare single gratis
diffusionedellibro.com
eceatbg.com
le anime gemelle non si incontrano si riconoscono
ciao rencontres
bellini-infissi.it
beste gratis datingsites belgie
getmind.marketing
dejtingsida akademiker online
medienkreis.de
ukc-nica.ru
chat kostenlos nummer
helpcenter.minipack.us
christian singles dating site in kenya
dejta 17 åring utveckling
iamnick.net
incontrissimi chat gratis senza registrazione donne
amelhorescrita.besaba.com
dejting 50 herr
aix les bains rencontre
dansk nätdejting flashback
cantonese.chinesegracebiblechurch.org
duhboekjes.nl
gk-ug.ru
lenceria-fina.stanage.es
skyholiday-travels.com
gchat app iphone 5
dossardsjaunes.be
a0015450.xsph.ru
racvet.ru
dejting appar gratis ipad
dejtingsajter för unga gratis
70+ dejt
rencontres poétiques de bazoches
dejta 2 killar samtidigt engelska
herrfrosch.org
ok att dejta flera samtidigt
ellevenwear.com.br
help-plus.de
sunu-group.com
online dating sites free college students
agence rencontre 49
how to pick a name for online dating
top singleplayer steam games
colourstudio.nl
datalion-it.com
women-magazine.ru
podtesovodou28.ru
polkom.klebek.com.pl
wicudausa.org
larediberoamericana.com
dejta 50 lappen
open ended questions for online dating
danny-pc-onlinehilfe.de
woodenza.com
deposer une annonce rencontre
dejtingsida profil död
site de rencontre aix en provence
vilka dejtingsajter är bäst jobbchans
date match mayweather pacquiao
wii u applicazioni per adulti
bxgcollection.com.s128265.gridserver.com
wiens-dinner.de
feuerwehr-wettringen.de
naturtech.cz
rencontre electronique bourges
free facebook chat app for nokia e63
date coach uk
blocco siti per adulti su tablet
rencontre harmoniciste
dejtingsidor som badoo
nätdejting är han intresserad bevis
descargar juegos para celular samsung chat 222 argim
carpenservizi.com
forumfitness.es
more-plus.fr
nouvelle site rencontre 2011
tri va go hotel
bästa internetdejting
rencontre madina
buka.com.tr
international dating and marriage agency
rencontre uoif bourget 2010
casarugarcia.com
bästa internet dejting jämtland
siti incontri donne sposate
demiter.net
annunci per adulti lodi
techfestival.ir
avtozvuk-online.ru
auditor.sopot.pl
szilnet.hu

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

Posted on in Docker Environment

wiz khalifa et amber rose rencontre
annonce de rencontre sur kijiji
coco site de rencontres
première rencontre elena damon
reveuse fr rencontre
rencontre guinee equatoriale
sero rencontres
rencontre internationale du film transsaharien de zagora
rencontre brout vernet
rencontre francais thailande
rencontre centre bretagne
site de rencontre femme africaine pour mariage
vos rencontres avec yoann gourcuff
rencontre chauves souris bourges
site de rencontre moin de 25 ans
1ères rencontres transfrontalières game serious game
rencontre ludo granby
tchatche de rencontre sans inscription
rencontre region de charleroi
agence voyages rencontres
dating femmes toulon
bar rencontre perpignan
ou faire des rencontres a nice
rencontre algerie francophonie
rencontre aude
rencontres philosophiques uriage
lieu prostituée gta v
rencontres france espagne
rencontres internationales de chimie therapeutique
première rencontre pas de feeling
rencontres viadeo
rencontre canadienne gratuite
rencontres bretagne ado
rencontres philippines
rencontre femme pyrenees atlantiques
la rencontre avec dieu dans le desert
rencontre musulmanes gratuit
prostituée loi
point rencontre gare nord
rencontres soufisme
haut fait on s'est deja rencontre
meilleure description pour site de rencontre
rio roma al fin te encontre album download
rencontres musicales des monts dore 2012
rencontrer christophe michalak
rencontre anbafey
bar rencontre thionville
prostituées tunisiennes
dating femme ille et vilaine
rencontre avec joe black wawa mania
rencontre avec monsieur x podcast
rencontre acteurs vampire diaries
rencontre partenaire sportif
jeux de rencontre pour ado
rencontre peugeot nogaro
rencontre sur internet liban
site de rencontres zouk
caen rencontres premieres
rencontres picardie aisne
lili rencontres mons
conseils pour sites de rencontres
facebook rencontre amis
sites de rencontre match
modele annonce rencontre drole
rencontre do
recherche site rencontre pour mariage
rencontre sexe franconville
rencontre arabe en france gratuit
rencontres paranormales fake
les meilleurs sites de rencontres en france
quand justin rencontre kelly le film
site rencontre ado 59
rencontre woippy
prostitute ros
rencontres musicales provinciales du hainaut 2013
exemple sms rencontre
prostituées à domicile st brieuc
inchallah.com - une rencontre si dieu le veut
poeme rencontre baudelaire
rencontre jeunesse toulon
cite de rencontre mali
vrai rencontre amoureuse
rencontre fille egyptienne
site rencontre pour ado maroc
zombie rencontre
rencontre marocaine 100 gratuit
rencontre dame namur
rencontre du neuhof
rencontre evenementiel
gta iv rencontre
dessin poesie rencontre avec le printemps
rencontres celibataires aix en provence
rencontre modele photo
conjugaison verbe rencontrer en anglais
rencontre dwayne johnson
chat poissy
rencontre juncker hollande
chat rencontre san sinscription
la tempête hurlante rencontre avec l'arrancar dansant
rencontres theatrales du pays de la lys
rencontre anor
faire de bonnes rencontres
prostituée sons of anarchy
rencontre de delphine santiago femme jockey
la chance de t avoir rencontrer
bertrange une rencontre
rencontre des musulmans de france 2012 programme
soiree rencontre calvados
site de rencontre sud coreen
africanlove com rencontres
chat sexe vigneux sur seine
rencontres entre golfeurs
prostituees in hotel
rencontre avec femme americaine
rencontre narcotique anonyme montreal
itinéraire et rencontre
rencontre femme sexe villeneuve la garenne
rencontres femmes budapest
lieu de rencontre a metz
prostituée charleroi 2011
réplique rencontre avec joe black
rencontres cluny
rencontre mytilene
rencontre yves chaland
prostituees sacrees 2
rencontres femmes malgaches france
rencontre sao tome
rencontres chichou
eglise rencontre et esperance
rencontre bidart
calendrier rencontres peugeot sport 2010
rencontre ado dunkerque
venus rencontre
petites annonces rencontres seniors
rencontre sur internet conseils
rencontre végétarien belgique
rencontres ibn rochd
hitler rencontre soupe
prostituée valencia
prostituée grec ancien
chat sexe ni evre
salon prostituée geneve
rencontre ligny en barrois
carcassonne rencontres
rencontre de parent solo
alan eckert la rencontre
keyla rencontre
skyfall bond rencontre q
rencontres indiennes france
rencontre oran homme
définition rencontre social
rencontre speed dating angers
site de rencontre drummondville
site rencontre aufeminin
rencontre breteuil
dating femmes cantal
site de rencontre special pompier
rencontre amoureuse au senegal
site de rencontre easy 2lm
chat sexe epernay
cadeau premier anniversaire de rencontre
meilleur site de rencontres 2012 gratuit
les razmoquette rencontre les delajungle
date rencontre ame soeur
agence de rencontre metz
adresse prostituée montpellier
rencontre femme sexe sainte foy l es lyon
rencontre traduction français
rencontre oermingen
relais soleil rencontres description
bresil rencontre femme
beau texte sur une belle rencontre
rencontres femmes de lettonie
rencontre maman bébé québec
site de rencontre algerien non payant
amitie et rencontres gratuit
rencontre sexe aubagne
annonces rencontres fribourg
rencontre fotochat
meilleur site de rencontres en france
raconter une rencontre en espagnol
rencontres en auvergne
prostitute abbreviations
meilleur cite de rencontre gratuit
citations rencontres inattendues
rencontre luc sur mer
animaux rencontre
rencontre femme audruicq
rencontre en ligne gratuit pour les femmes
forum rencontre reims
prostituee tenerife
rencontre catholique
rencontre aire sur adour
rencontre toronto
ou se trouve les prostituées a tours
rencontrer verbe irrégulier
modele message site de rencontre
rencontres amoureuses compi egne
rencontre seine maritime
site de rencontre sanctus raphael
rencontre a vauvillers
rencontres ferroviaires régine deforges
homme rencontre femme geneve
ab coeur rencontre
pero al fin te encontre rio roma
ars sur formans monument de la rencontre
10è rencontres de l'ingenierie de la construction et de l'industrie
sept à huit mauvaise rencontre
rencontre sur st etienne
mauvaise rencontre adopteunmec
rencontres du cinema gerardmer 2012
mannelijke prostituee wallen
badoo site de rencontre belge
site de rencontre gisors
rencontre culturelle en pevele
prostituees ghana
prostituée a 14 ans
meet chaumont
rencontre eguilles
sites de rencontres suisse avis
forum rencontre 20 ans
rencontres celibataires aix
dating femme s evres
site de rencontres ille et vilaine
rencontre femme sexe valenciennes
emplacement prostituée var
site rencontre amoureux 2010 gratuit
rencontre artistique du val d'anglin
rencontres front national
paradise prostituée
site de rencontre deutsch
les razmoket rencontre les delajungle streaming vf
tchat rencontre gratuite sans inscription
un gars une fille la rencontre
sexe lormont
jeu rencontre sans inscription
rencontre sportive.com
rencontre dieval
rencontre de la performance énergétique 2011
rencontre orthophonie
prostituée a chalon sur saone
7ème rencontre annuelle des musulmans du nord
rencontre saujon
rencontre pour mariage en europe
penelope cruz prostituée
mariage kate william rencontre
rencontre paysanne champsaur
rencontrer conseiller apec
faire des rencontre
rencontre marennes
rencontre inuit
je serai ravi de vous rencontrer pour un entretien
rencontre culture ouverture
el mektoube site de rencontre
hotel des rencontres severes trinca
rencontre denonville
olx rencontres paris
prostituees saint germain
rencontre tregunc
télécharger rencontre avec joe black vostfr
rencontre mirabel
rencontre avec le drh
rencontre africaine de la photo
feuille de rencontre tennis
prostituée sihanoukville
rencontres de montagne grenoble
gold-up rencontre piero san giorgio
rencontre badoo fougeres
agence rencontres extra conjugales
rencontre iles des soeurs
quartier prostituees lyon
rencontre hasard citation
seigneur quand je rencontre mon frere
site de rencontre en jeux
agence de rencontre pour gens riche
trouver une prostituée en tunisie
stupre rencontr
rencontre orne flers
rencontre badoo la salle de vihiers
les rencontres du multimedia
test de compréhension globale une étrange rencontre
rencontre gay saint remy les chevreuses
rencontre taizé 2011
atomix rencontre rutherford
rencontrer des gens a rome
prostituées littérature
amenagement zone de rencontre
rencontres schaerbeek
rencontre ruminghem
prostituee sur grenoble
espace rencontre mende
starstruck rencontre avec une star streaming vf partie 3
site de rencontre jeunes parents
rencontre pour ado belge
huge rencontre
prostitute sting westchester county ny
qui nabilla rencontre elle pour son anniversaire
je serai ravi de vous rencontrer pour
forum site rencontre e darling
prostitute ny

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 isolated from the surrounding environment as a normal virtual machine would be. A Docker container shares the Linux kernel with the host operating system, which means it doesn't need to "boot" the way a virtual machine would.

You can think of a Docker image as a complete Linux installation. These images use the kernel of the host system, but since they are running inside a Docker container and only see their own file system, it's perfectly possible to run a distribution like CentOS on an Ubuntu host (or vice-versa). Docker containers are isolated from the host machine by default, meaning that by default the host machine has no access to the file system inside the Docker container, nor any means of communicating with it via the network.

docker

Docker containers run ephemerally by default, which means that every time the container is shut down or restarted it doesn't save its data — it essentially reverts to the state it was in when the container started.

First make sure you have the Docker properly installed on your machine.
Mac OSX users can follow this guide: https://docs.docker.com/engine/installation/mac/
Windows users this one: https://docs.docker.com/engine/installation/windows/
There are also various guides available to install Docker on Linux or cloud environments btw.

You will need to install the Docker toolbox. It includes the Docker terminal, the Docker Machine, Docker compose etc.

You can test if Docker is installed by running the following command:

$ docker -v
$ docker-machine version

After installing, start the Docker Quickstart Terminal application. It will take a while, but afterwards it opens another terminal window, with a message like this:


## . ## ## ## == ## ## ## ## ## === /"""""""""""""""""\___/ === ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~ \______ o __/ \ \ __/ \____\_______/ docker is configured to use the default machine with IP 192.168.99.100 For help getting started, check out the docs at https://docs.docker.com MacBook-Pro-3:~ leeboonstra$

In this case, it will configure Docker on my workstation on this local IP address: 192.168.99.100.

Now, let’s create a Docker file: Dockerfile (note, it does not have an extension) and you will save it into the dockerextnode/client folder.

We will create a new Docker image, and base it on other Docker image, The official Nginx image. https://hub.docker.com/_/nginx/

Nginx (pronounced "engine-x") is an open source reverse proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer, HTTP cache, and a web server (origin server). The Nginx image will serve all our static content.

Here are the contents of the client/Dockerfile. See the comments for explanation:
https://github.com/savelee/docker-ext-client/blob/master/Dockerfile

To finally create the image, we need to run the following command from the dockerextnode/client folder, in the Docker terminal window:

$ docker build -t extclient .

Note: Because I migrated from the Boot2Docker command to the Docker Machine, I wasn’t able to build here. Instead I received the following error: “Cannot connect to the Docker daemon.” I had to run this line on my CLI first, before building. Which regenerate the TSL certificates for me.
$ docker-machine regenerate-certs default

To test if it worked run:

$ docker-machine env default

To see your newly created image, run the following Docker command:

$ docker images

You will see the images that are currently installed on your workstation. It could look like this:

REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
extclient               latest              4ad898544bec        4 minutes ago  

The name extclient, is our Ext JS Docker image, since we specified this name in the build command.

To remove all images use:

$ docker rmi $(docker images -q)

To remove all containers including the running ones use:

$ docker rm --force `docker ps -qa`

To run a container using the image we just created run:

$ docker run -d --name dockerextnodeclient -p 80:80 extclient

You can test it in your browser by entering the ip address in the browser:
http://192.168.99.100

In case a Docker container automatically exits, because of an error, you might want to look into the logs:

$ docker logs 

For example:

$ docker logs 2f9236343def

We are running in the background a new container called: “dockerextnode”, which maps port 80 to the port that the Dockerfile exposes from the image named “extclient”.

Now the container is running. To see our app inside the container we need to know the ip of the Docker Machine:

$ docker-machine ip

To see running containers use:

$ docker ps -a

This works, but only for the front-end, not for our Node.js back-end and Mongo database. Of course, you could edit the Dockerfile, and create Docker RUN commands, to install Node.js and Mongo on this image. However, that would be a bit silly, and it would take the magic powers of Docker away.
A much better approach, would be to create separate images for Sencha, Node.js and for MongoDB. That's why Docker Compose comes into play... We will look into that, in the next part of the tutorial.

READ THE NEXT PART

https://www.leeboonstra.com/developer/tutorial-full-stack-javascript-for-the-enterprise-getting-started-with-ext-js-node-js-express-mongodb-and-docker-7/

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

Posted on in Docker Ext JS 6 JavaScript Node JS

This is part I of the tutorial, and covers: JavaScript on the client.

Yeah you are correct, when you have a web project, optimized for production, you can use FTP and simple upload the folder on your server. That’s easy, and when you only have a simple HTML5/JS/CSS app, or an application with a PHP back-end on Apache this probably works fine for you. But what, if you have a very complex application, or you are working on an application with a large team? You probably want to automate as much as possible, and make every live build easy.

This tutorial will show you, how you can create an app where we will use JavaScript on the client (an Ext JS 6 app), and JavaScript on the server (Node.js with Express). Maybe you have played around with Node.js before. When you configured a Node.js app with Express etc, you will probably need to install packages via the the NPM packages manager. These are all dependencies. Now imagine you’ve created on your local workstation a fully working back-end, with Node.js and a MongoDB database. You had to install a lot of packages, and make some configurations on your system. This can be a configuration where you save environment passwords, or maybe even hardware configurations.
What you don’t want, is to manually replicate all the settings and configurations you made locally, again on the server. Ideally, you will take whatever you have on your local machine, and take that over. Maybe you even want to run the same operating system and hardware on production. This is where Docker comes into play.

With Docker you can create an isolated container with all the files such as dependencies and binaries for your app to run, making it easier to ship and deploy. It simplifies the packaging, distribution, installation and execution of (complex) applications.
So, what is an isolated container? These containers are self-contained, preconfigured packages that a user can fetch and run with just a single command via the Docker hub (like Github, but for Docker). By keeping different software components separated in containers they can also be easily updated or removed without influencing each other.

About Docker

With Docker you can create an isolated container with all the files such as dependencies and binaries for your app to run, making it easier to ship and deploy. It simplifies the packaging, distribution, installation and execution of (complex) applications.
So, what is an isolated container? These containers are self-contained, preconfigured packages that a user can fetch and run with just a single command via the Docker hub (like Github, but for Docker). By keeping different software components separated in containers they can also be easily updated or removed without influencing each other.

What you will need:

For this tutorial I used: Ext JS 6 and Cmd 6.0.2, Node.js 5.8 with NPM installed and Docker 1.10.

Please install the following:

Ext JS 6: Create the client app

Create the following folder somewhere on your hard drive: dockerextnode.

Put a temporary copy of the Sencha SDK inside dockerextnode, (for example ext-6.0.2). If you don’t have Ext JS yet, feel free to download the trial: https://www.sencha.com/products/evaluate/

Open Windows Command / Terminal, and navigate on the command-line to the dockerextnode folder. From there enter the following commands:

$ mkdir server
$ cd ext-6.0.2
$ sencha generate app Client ../client

You’ve now created 2 folders. The server* folder, which will contain the Node code later and the **client folder, which contains the copy of the Sencha SDK together with a demo app.

Let’s remove the temp folder:

$ cd ..
$ rm -Rf ext-6.0.2

You’ve now removed the temp. Sencha SDK folder. We can now, start testing our Sencha demo app:

$ cd client
$ sencha app build production
$ sencha app watch

This command will spin off, a Jetty server on http://127.0.0.1:1841. Visit this page in the browser, and confirm you see the Sencha demo app. Once, you’ve seen the demo app, we can stop the server, by stopping the sencha app watch (with CTRL + C for example). We will keep the demo app like it is, but this could be a nice starting point for you, when you want to create your own app.

NOTE:
By default, the sencha app watch command starts the development server on the internal IP at port 1841. If you want to change the server’s port, for example to port 8082, you will have to start the server via the web command. This command will only bootu p an internal server, and won’t “watch” your app for changes. $ sencha web -port 8082 start

Want to checkout all my code? I hosted it on Github:
https://github.com/savelee/docker-ext-client

By the end of this part of the tutorial, you will have a working JavaScript client app, created with Sencha Cmd and Ext JS 6. The next part of this tutorial will cover the setup for creating a Node.js with Express app.*

 

ExtJS6-demo-app

Read the next part

https://www.leeboonstra.com/developer/tutorial-full-stack-javascript-for-the-enterprise-getting-started-with-ext-js-node-js-express-mongodb-and-docker-2/