I'm trying to create a simple website that displays a table based on a relatively small json data (>5MB). I plan on importing the json into MongoDB and performing queries using a driver (either Mongoose or PyMongo). As the data size is very small, I'd like to avoid using the cloud service so that I only pay for the server costs.
I've tried to familiarize myself with mongoimport
by trying that on my local machine. I was successful in importing the data locally but now I'd like to do this on the remote server.
How would you do this on a remote server? As I understand, mongod
should be running in the background to start mongo
or mongoimport
. How do you achieve this with one window? Is there a guide that any of you found helpful in doing this type of a job?