Re: Phix, and p2js

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...
ChrisB said...

Whats the actual process of getting a Phix program to appear in someone elses browser. Step by step. If you could be so kind.

Can I assume you are ok with debugging on desktop/Phix, running pwa/p2js, and getting it to run in your browser?

No.

said...

The files have to be uploaded and hosted somewhere, as provided by your ISP, or some other free or paid hosting service, ok with that part too?.

Yes, I can upload files with ftp, or whatever method the provider uses. Do they have to be in specific location

said...

So, in http://phix.x10.mx/p2js/ (even I get a 403 on that url) I have previously uploaded p2js.js, pGUI.js, pGUI.css, and a builtins/ directory containing 58 files as populated by pwa/p2js.exw in C:\Program Files[ x86]\Phix\pwa\builtins (about 1.4MB in total). Having got some demo to run in my browser, I upload pwa/test.htm, rename it to something more appropriate such as primefib.htm, and then I can invite people to run http://phix.x10.mx/p2js/primefib.htm in their browser - nothing else to it. Of course I am specifically using a p2js\ subfolder on the Phix site, but there is no reason why you would have to do the same.

Kind of lost me at t his point.

So the package I need to upload, with a directory structure, should look like

p2js(folder) 
   pwa (folder) 
       primefib.htm (file) 
   builtins (folder) 
       builtin files (files) 
   p2js.js (file) 
   pGUI.js (file) 
   pGUI.css (file) 

Is that right? And then what's the 'someone else' browser pointed too?

Cheers

Chris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu