server

Just starting out? Need help? Post your questions and find answers here.
Gilles Demers
Posts: 2
Joined: Thu Dec 15, 2016 8:32 pm

server

Post by Gilles Demers »

how can i connect the application i create to sbmongoose server?
I am a newbie and i try to reproduce the behavier of spider basic compiler.
TheMexican
Posts: 17
Joined: Sun Jun 07, 2015 5:58 pm

Re: server

Post by TheMexican »

I am not sure what you mean "Connect the application to the moongose server"
SpiderBasic has a builtin WebServer for testing purposes. When you Compile\Run it launches the web app on the mongoose Server usually port 9080 and automatically opens your default browser to show your web app.

If you want to run your web app and be able to access it from any other computer, you can export it (with version 2.0 is now Create Web App).
The settings are pretty straightforward:
Go to Create App -> Web
App name: Is the name that will appear on the browser tab
HTML Filename: is the location where you want the web app exported. This is usually a folder in your local computer. I have "C:\Abyss Web Server\htdocs\test\testapp.html"

This means the following:
"C:\Abyss Web Server\htdocs\test" ---> I am using the Abyss Web Server and this is the location where I put all of the web pages the server can serve.
"testapp.html" --> This is the name of the html file.

so after exporting the app I can go to my computer ip address from any other computer and type (lets asume my computer ip is 10.10.10.2}
http://10.10.10.2/test/testapp.html
I should be able to see the web app created by SpiderBasic (Assuming your computer Firewall allows access to port 80)

Hope this explains it a little better.
the.weavster
Posts: 229
Joined: Sat Mar 01, 2014 3:02 pm

Re: server

Post by the.weavster »

You can use the included NodeJS. See here.
tj1010
Posts: 218
Joined: Wed May 27, 2015 1:36 pm
Contact:

Re: server

Post by tj1010 »

Or the python solution in the same thread.

The next easiest solution, or the third easiest, would be using xampp. The first two are obviously better though unless you also need to test a CGI back-end.
Gilles Demers
Posts: 2
Joined: Thu Dec 15, 2016 8:32 pm

Re: server

Post by Gilles Demers »

The problem is solve. I used Abyss Server and it work.
Thank you.
Happy new year.
Gilles Demers
Post Reply