gb.web on a server

For questions about Gambas web tools.
BruceSteers
Posts: 841
Joined: Thursday 23rd July 2020 5:20pm

gb.web on a server

Post by BruceSteers » Wednesday 6th July 2022 10:26am

Has anyone got a GB.web app working in n their web server (not local apache)

I'm with one.com same as this forum.

I read wiki how-to but still not getting anything.
I put the compiled gambas app in cgi-bin but when I try to access it it just downloads to download folder.

Could do with an example or 2
Tia
Bruce

BruceSteers
Posts: 841
Joined: Thursday 23rd July 2020 5:20pm

Re: gb.web on a server

Post by BruceSteers » Wednesday 6th July 2022 11:43am

I want to make this a gambas web cgi if poss...
https://bws.org.uk/gambasmods.php

That page auto-creates from a folder structure...
there's a gmods folder containing the component name folders like gb.args gb.desktop.
in the component folders there are archives accompanied by a .txt file of the same name.
so there's Args.Advanced.zip and Args.Advanced.zip.txt

So i just now have to add archives and txt files to add the the collection..

wanna gambas it up though ;)

BruceSteers
Posts: 841
Joined: Thursday 23rd July 2020 5:20pm

Re: gb.web on a server

Post by BruceSteers » Wednesday 6th July 2022 12:09pm

Is the gambas playground a gb.web thing?

User avatar
cogier
Site Admin
Posts: 896
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: gb.web on a server

Post by cogier » Wednesday 6th July 2022 2:52pm

The Playground is linked to Gambas.One. The work is done by a 'droplet' on Digital Ocean. Costs about $6 a month. You can start for free here. The droplet contains Ubuntu (no GUI). Ubuntu was picked so that we could use the ppa to keep Gambas updated. The project was the work of my friend Matt and is available here. A similar process is used for the Gambas Farm on Gambas.One.

BruceSteers
Posts: 841
Joined: Thursday 23rd July 2020 5:20pm

Re: gb.web on a server

Post by BruceSteers » Wednesday 6th July 2022 5:32pm

cogier wrote:
Wednesday 6th July 2022 2:52pm
The Playground is linked to Gambas.One. The work is done by a 'droplet' on Digital Ocean. Costs about $6 a month. You can start for free here. The droplet contains Ubuntu (no GUI). Ubuntu was picked so that we could use the ppa to keep Gambas updated. The project was the work of my friend Matt and is available here. A similar process is used for the Gambas Farm on Gambas.One.
Aah so if gambas is installed does that mean you can also run full on gb.web.form programs?
Seems a cool way to go and may be worth a look.

No luck trying to get gb.web cgi applications running online though?

BruceSteers
Posts: 841
Joined: Thursday 23rd July 2020 5:20pm

Re: gb.web on a server

Post by BruceSteers » Wednesday 13th July 2022 10:35am

Can anyone tell me why if i make a link and point it to my gambas cgi app when clicking it all it does is download the cgi not run it?

TIA
Bruce

BruceSteers
Posts: 841
Joined: Thursday 23rd July 2020 5:20pm

Re: gb.web on a server

Post by BruceSteers » Thursday 14th July 2022 1:09am

BruceSteers wrote:
Wednesday 13th July 2022 10:35am
Can anyone tell me why if i make a link and point it to my gambas cgi app when clicking it all it does is download the cgi not run it?

TIA
Bruce
Never mind I figured it out :)
I now have gb.web things working :)

BruceSteers
Posts: 841
Joined: Thursday 23rd July 2020 5:20pm

Re: gb.web on a server

Post by BruceSteers » Thursday 14th July 2022 2:36pm


BruceSteers
Posts: 841
Joined: Thursday 23rd July 2020 5:20pm

Re: gb.web on a server

Post by BruceSteers » Friday 15th July 2022 5:22pm

gb.web gambas compile/install app anyone?
Click here to see online page @ bws.org.uk/cgi-bin/WebGambasUpgrade.gambas
Untitled.png
Untitled.png (230.16 KiB) Viewed 270 times
(just having a play)

User avatar
gbWilly
Posts: 44
Joined: Friday 23rd September 2016 11:41am
Location: Netherlands
Contact:

Re: gb.web on a server

Post by gbWilly » Saturday 16th July 2022 1:13pm


BruceSteers wrote: ↑
Wednesday 13th July 2022 12:35pm
Can anyone tell me why if i make a link and point it to my gambas cgi app when clicking it all it does is download the cgi not run it?

TIA
Bruce
Never mind I figured it out :)
I now have gb.web things working :)
Hi Bruce, could you explain why it didn't work at first and how you made it work.

I'm planning on running a Gambas based webserver myself somewhere in the near future.
I know it is very hard to find good documentation on how to set it up and get it working as I have been looking into this many times before.

I'll be running the Gambas based website on an Apache server as I have the most experience with running these.
Any help, links to documentation or whatever helped you get it running is much appreciated.
gbWilly
- Dutch translation for Gambas3
- Gambas wiki content contributer


... there is always a Catch if things go wrong!

Post Reply