- Remove this section from the README
- Change .meteor/.id (delete it and let Meteor regenerate it)
This project uses the pauldowman:dotenv package to set environment variables in development mode (only). Rename the dotenv.example
file in the root directory to .env
. Edit the entries with the configuration needed for the app.
Whenever your application loads, these variables will be available in process.env
:
pauldowman:dotenv can't set the METEOR_SETTINGS env variable (okgrow/meteor-dotenv#2) so we still need a settings.json file to set public (i.e. client-side) settings. Copy settings.example.json
to settings.json
.
This project uses tests written in Jasmine using the Jasmine extension for the Velocity testing framework
Velocity is still under heavy development, and there are still some awkward issues to work out.
If your tests don't seem to run on the first startup, OR if they fail unexpectedly (or pass unexpectedly) stop the server, run meteor reset
, and killall node
See dotenv.example for some ENV vars that you might want to set for debug output and to use PhantomJS for unit tests.
To use PhantomJS instead of Chrome for the unit tests add JASMINE_BROWSER=PhantomJS.
The following packages interfer with / prevent the operation of the testing framework.
They've been commented out in the .meteor/packages
file temporarily
u2622:persistent-session
Tests can be run in the console by typing meteor --test
There is currently an issue where running tests in this way leaves processes running
after the tests have run.