Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QBJS Offline Development?
#2
Hi @JamesAlexander,

Yes, you can run a local version of QBJS. Just do the following:

1) Download the zip from the latest release: https://github.com/boxgaming/qbjs/releases/latest
2) Unzip it to your preferred location
3) Open the index.html in a browser

You can run much of the functionality with this simple approach.  For the full functionality you will need to run a local webserver.  For convenience, there is a simple one included in the project.  Just compile the webserver.bas in the tools directory (with QB64).  Then from a command line, run the following command from the directory where you unzipped the project:

c:\users\dbox\qbjs> tools\webserver.exe 8888

Then you can open up a new browser to the local URL: http://localhost:8888/index.html

Now you've got the whole app running on your desktop.

(There has also been some preliminary work by @grymmjack to create a version of QBJS which can run inside VSCode as an alternative to the method I described above.  It has been discussed here in another thread.)

For clarity... QBJS is a separate, open source project, independent from QB64(PE).  The source is available to anyone on github.
Reply


Messages In This Thread
QBJS Offline Development? - by JamesAlexander - 11-22-2023, 10:28 PM
RE: QBJS Offline Development? - by dbox - 11-22-2023, 10:58 PM
RE: QBJS Offline Development? - by grymmjack - 11-23-2023, 03:32 AM
RE: QBJS Offline Development? - by JamesAlexander - 11-22-2023, 11:20 PM
RE: QBJS Offline Development? - by dbox - 11-22-2023, 11:52 PM
RE: QBJS Offline Development? - by JamesAlexander - 11-24-2023, 03:15 AM



Users browsing this thread: 1 Guest(s)