Hi hans
1. starting the whole program in the Pharo environment ( not only a
class or method )
2. saving the image files only for the program in afolder.
3. storing the program image file on a USB stick.
4. starting and using the program on another PC.
Yes this is simple.
But what must i type to start the whole program ? If there are
many classes ?
How can i store the program in a optional image.file ?
No need.
What you can do is (this is one way to do it).
(optional but you should do it for you) - save your packages in
smalltalkhub
so that you can always reload your program.
- save the image with your application
- you set the window in the right place (you could also remove some
menus and other if needed).
- then you have a little script that execute your image
- depending on the machine you can define bat or script that
launched your image.
- the "one click" installer can provide a good start to deploy on
mac, windows
The program is indeed ready programmed.
I have already realized that program code in Pharo is included in the
image. Not as a file.
Are there any online sites or instructions to do that ?
It would be good to have some. I think that damien cassou wrote
something like that in
https://ci.inria.fr/pharo-contribution/job/PharoForTheEnterprise/lastSuccessfulBuild/artifact/DeploymentDesktop/
You can look at the Pharo launcher because it is a small app developed
in Pharo.
You get inside the launcher there is a setting "development" once you
click on it
you can access the image "behind".
Regards
Hans