Jump to content

Deployment


dionel1969

Recommended Posts

Hello !!!

 

I have deploy an 1/3 of an application and I want to show final client how it is working to test it and to continue deployment. I was watching On-line help but I could not obtain good results.

 

I have the following:

 

In the Server:

 

1- IIS v6.0

 

2- d:\inetpub\wwwroot\extjs -> Ext JS library folder

 

3- d:\CoinMax -> Application runinng on port 62000

 

What I have to write in the ExtRoot property of ServerModule and ServerRoot ????

 

 

PS: When I try to stay property in blank state it become to "ext-x.y.z\"

Link to comment
Share on other sites

Then set ExtRoot -> d:\inetpub\wwwroot\extjs\

 

I just did it, but it does not work. I inspect "page source" and I found this:

 

<head>

 

<title>Administración de Máquinas Tragamonedas</title>

 

<meta http-equiv="content-type" content="charset=utf-8" />

 

<meta http-equiv="cache-control" content="no-cache" /><meta http-equiv="pragma" content="no-cache" />

 

<link rel=stylesheet href="ext-3.3.0/resources/css/uni-ext.css" />

 

<link rel=stylesheet href="ext-3.3.0/resources/css/ext-all.css" />

 

<script src="ext-3.3.0/adapter/ext/ext-base.js"></script>

 

<script src="ext-3.3.0/ext-sync-1.2.3-min.js"></script>

 

<script src="ext-3.3.0/ext-all.js"></script>

 

<script src="ext-3.3.0/examples/ux/ux-all.js"></script>

 

<link rel=stylesheet href="ext-3.3.0/resources/css/xtheme-blue.css" />

 

<link rel=stylesheet href="ext-3.3.0/examples/ux/css/ux-all.css" />

 

<style>body { background: #004080; }</style>

 

<script src="ext-3.3.0/ext-unigui-1.2.3-min.js"></script>

 

</head>

 

As you can see the source for ExtRoot is still pointing to "ext-3.3.0/..."

Link to comment
Share on other sites

I copied the folder extjs to inside the folder of application, I renamed it to ext-3.3.0, and recompile the program after change the property ExtRoot to "ext-x.y.z\" and does not work too. The application show the first "Loading..." but the background of web is always blue and the main application form does not appear.

Link to comment
Share on other sites

  • Administrators

I just did it, but it does not work. I inspect "page source" and I found this:

 

 

 

As you can see the source for ExtRoot is still pointing to "ext-3.3.0/..."

 

Actually not. "ext-3.3.0" is a signature used to detect ext js files.

 

It is translated internally and will point to whatever path you assigned in ExtRoot.

Link to comment
Share on other sites

  • Administrators

I copied the folder extjs to inside the folder of application, I renamed it to ext-3.3.0, and recompile the program after change the property ExtRoot to "ext-x.y.z\" and does not work too. The application show the first "Loading..." but the background of web is always blue and the main application form does not appear.

 

What is the ServerRoot parameter?

Link to comment
Share on other sites

Let see:

 

1- http://gamera.no-ip.biz:85/coinmax <- A test page

 

2- http://gamera.no-ip.biz:85/coinmax/ext-3.3.0/index.html <- an index to ext js

 

3- http://gamera.no-ip.biz:62000 <- The App url

 

 

PS: Also, when I trying to access inside the server with the address: http://localhost:62000 it does not work. From my machine work, also from other workstations.

Link to comment
Share on other sites

I assume you have the following folder structure:

 

c:\myapp\uniguiapp.dll  <--- your application
c:\myapp\ext-3.3.0
c:\myapp\ext-3.3.0\ext-all.js
c:\myapp\ext-3.3.0\ext-unigui-1.2.5-min.js
.
.
.

 

In this case:

 

ExtRoot -> ext-x.y.z\

ServerRoot -> blank

 

I change it all to d:\inetpub\wwwroot\, but inside is "ext-3.3.0" folder as is and the properties are as you indicated.

Link to comment
Share on other sites

I found the problem:

 

file ext-unigui-1.2.3-min.js is missing.

 

Probably you're using ext-3.3.0 folder from an older uniGUI distribution. Please copy the ext-3.3.0 folder from correct uniGUI version.

 

Ok, I saw it. I'm copying all the files again from my machine. Let me see.

 

Thank you

Link to comment
Share on other sites

Good to hear.

 

Ok

 

 

Btw, I see that you're using an older versiion of uniGUI.

0.85.0 is the current version and recommended for all new developments.

 

This is the string that I have in the UniGUIVersion of ServerModule: 0.85.0 build 862. I think that I have the last version, because two weeks a ago I change it using your recomendations. May be the copy of extjs is not the last. I just copied all files. How to know what version I have in the server????

Link to comment
Share on other sites

newest buiild is: 0.85.0.874

 

You wrote this in the Beta Release Thread:

 

There is no 0.86 build available for download yet, but I plan to release the first build in few days.

 

So, may be I will wait "few days" to update to 0.86????

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...