I need to parse a MS Access database on a Meteor server hosted on Galaxy.
Specifically it's a .accdb file.
If I were able to install mdbtools on Galaxy, the npm package mdb would serve this purpose- but I'm fairly certain I can't install anything on Galaxy hosted servers.
Is there an easy solution to this or do I need to switch hosting/ set up a process on a different host to convert the database to a usable format?
EDIT:
I was able to install and use mdbtools but I wasn't able to get mdb to work on my build. I created my own implementation of mdbtools called mdb-parse. This will not work in Galaxy but seems to me at this time to be the only solution if you need to work with .accdb and .mdb files on Node.js.
Related
I'm a web developer and I work for a secret electronics facility. All our computers are connected to the secret internal network, with no internet access. I'm allowed to transfer-in files using an 18 terabyte hard drive from an "internet computer".
Creating a Python PiPy server was no problem, I just used "bandersnatch", all versions of all pip packages ever are only 13.9 terabytes.
I want to do the same with NPM, but I read the the CouchDB database that used to be clonable, is deprecated, and verdaccio doesn't actually provide a mechanism to clone the real NPM registry, so you end up with an empty NPM registry.
Just a simple React project has more than 800 dependencies, and I have no way to name them all, or manually input the required versions. I need the whole entire thing.
I have recently bought a Asustor AS-302T NAS, which is an absolutely brilliant solution for the home. One of it's most impressive features is that you can install apps which extends the ordinary behavior of a NAS. And if you are a developer you can also create your own apps.
While apps are fun, I have more interest in using my NAS as a kitchen-sink for my personal nodejs projects. In short I want to run nodejs application that I can then call from various other machines around the house. My own mini-cloud for IOT experiments.
Installing, one click only
Having installed NodeJS through App-Central I am at a loss how exactly to start using NodeJS on my NAS. The whole installation is essentially an on/off switch with no options or visible settings at all. I can find no documentation on practical tasks like uploading a nodejs application, deal with access rights or even execute it.
Under Windows or OS-X I would use npm via the command-line or shell, but Asustor is a purely html based interface (with the exception of XBMC through HDMI).
Why offer to users the option of installing NodeJS -if it's impossible to actually use it?
So my question has three aspects to it:
How do i get access to npm on my Asustor NAS
How do i get my NodeJS application running
Is it possible to run my application as a service (executed when the NAS boots)?
From the ASUSTOR Developer's Guide: apps are installed into
/usr/local/AppCentral/$APP_NAME.
NodeJS executables will be at path /usr/local/AppCentral/nodejs/bin/node and /usr/local/AppCentral/nodejs/bin/npm.
You can login to NAS via SSH and add them to PATH variable, or create symlinks...
I'm also searching for solution how to run them as a service (daemon), maybe an /etc/init.d script might help.
I am creating a NodeJs Desktop application using node-webkit and right now using MongoDB as a database.
I want to distribute it as an executable where users will be able to use the application without installing the database by utilizing their own copy of local DB.
Is there a way i can make a local copy for their DB during the installation.
If it is not possible in MongoDB, what other DB should i use?
well its based on your data needs, if you have large set of data you should use mongoDB otherwise there are lots of databases for your NWJS app. check this link https://github.com/nwjs/nw.js/wiki/Save-persistent-data-in-app some of them are good enough to hold big data. but personally i prefer sqlite3 with NWJS(there is a lot of hustle to install it for NWJS) sqlite can work with large data check this page for more info.
if you are going with mongoDB then you should download the the zip not the installer and pack it with your installer the you should be good to go.
by default mongoDB stores its data in /data/db but you can change it to your preferred location
I would like to open a *.mdb file (Access Database) for read only (need a SQL access, not just open the file).
The main issue is that I need to open it in a NodeJS server, that runs on Mac OS X.
I want to avoid installing any 3rd-party binaries and/or Microsoft Access Driver on the server - only use a node package or similar.
My server is a Meteor server, so any NodeJS (npm) will be great.
It is possible?
Thanks!
What i need is one file that installs my app and mysql database. I don't want that my end-users have to install it by hand.