Initial commit. Modified the Meteor todos app to create the Petit Teton data tracking app. Has working data for sales. Requires a Mongo database.

This commit is contained in:
Wynne Crisman
2017-01-15 11:33:37 -08:00
commit b757595cd6
104 changed files with 26824 additions and 0 deletions

19
README IMPORT.md Normal file
View File

@@ -0,0 +1,19 @@
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.