Hi!
I've just completed my first first Amber application, which is my web page. Proud of it :-)
Currently, it is in on my laptop, in amber/projects/mywebpage
To put it online, I've created amber-deploy.js [1].
I copied this amber-deploy.js file into amber/projects/mywebpage/js
and have changed the index.html to:
-=-=-=-=-=-=-=-=-=
<script src="./js/amber-deploy.js" type="text/javascript"></script>
<script type="text/javascript">
loadAmber({
files: ['AlexWebPage.js', 'AlexWebPage-ObjectModel.js', 'AlexWebPage-Tests.\
js' ],
prefix: 'js', // before was 'projects/mywebpage/js'
-=-=-=-=-=-=-=-=-=
I then copied all the content of mywebpage on the server, but it seems it does not work.
http://bergel.eu/mywebpage/index.html should have shown the application I am very proud of.
When I put <script src="./js/amber-deploy.js" type="text/javascript"></script> in the html, I cannot locally view the webpage. I am probably doing something wrong, but I can't figure out what exactly.
Help greatly appreciated.
Cheers,
Alexandre
[1]
http://stackoverflow.com/questions/9911809/amber-smalltalk-creating-a-single-js-file-for-deployment--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.