Files
AVEF/README IMPORT.md
Wynne Crisman 94000458e4 Copied starter Meteor App files.
Cut and paste of the BasicMeteorApp.
2018-07-30 14:15:39 -07:00

605 B

To import data, place the data in the /private folder, then write a script in the /server folder (javascript).

The script file should define Meteor methods:


Meteor.methods({
	"importSomethingOfMine": function() {
	    //Your script here.
	}
});

Then run meteor.

Then at the terminal (in your WebStorm UI, or at a command line (at the project root path), run meteor shell to open a server side shell.

Once in the shell, you can write javascript code that will be executed.

Type Meteor.call('importSomethingOfMine') and hit the enter key and it will execute the method you defined earlier.