jlongster / absurd-sql

sqlite3 in ur indexeddb (hopefully a better backend soon)
MIT License
4.15k stars 101 forks source link

manual setup - need some help :( #63

Closed jalsco closed 1 year ago

jalsco commented 1 year ago

Hi - I am very very excited about absurd-Sql ! It is exactly was I been searching for to port a bunch of (each one is small) tools from MS-Access across to a web interface.

Unfortunately, the web-server that I have available for this project is not my server. I have quite limited access to it, and I cannot (ever) get NPM or Node.js or Yarn - put onto there. But I can put the files I need - manually - into place.

I have confirmed:

Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin 

But I did not think it would be much of a problem to arrange the files manually. Except I find that it is. I am stuck - maybe just too tired and stressed- but I just cannot see where the files should go. I am just trying to get the example running. I thought the console would show a bunch of errors for missing files... And then I could use those messages to understand what is missing from where..... But the console is clean -

Its almost certainly something obvious I am overlooking - but any assistance to get it working would be greatly appreciated.

The file structure I am using is as follows:

image image image image

jalsco commented 1 year ago

I need to get it running in a very lightweight setup. The idea is that 95% of the time the user will be running it offline - eventually will be converted to PWA. In my scenario the webserver is really just to deliver the app/webpage in the first place.

I hope absurd-sql is suitable for this and I am able to use all the amazing work done by @jlongster 🙏🏻😁

UPDATE:- it all seemed to difficult, which is more a reflection of my skill levels than this repo. So, instead I did it with: https://github.com/rhashimoto/wa-sqlite which was very easy to configure and get the demos running.