Launch Meteor
and Meteorite inside Atom.io
Either use Atom.io inner packaging tool or the following command line:
apm install meteor-helper
With this package, you can:
In the settings, you can customize this package behavior:
.
./usr/local/bin/meteor
.false
.false
.undefined
.You can overwrite variable settings with a per project file named mup.json
at
the root of your project using Meteor Up
recommendations. The following variables supersede the settings ones:
env.PORT
: Meteor's port.env.MONGO_URL
: MongoDB's URL.env.MONGO_OPLOG_URL
: MongoDB's Oplog URL.env.NODE_ENV
: The NODE_ENV environment variable.app
: Meteor's application path.Tips: To create a default Meteor Up project, simply use the following commands:
npm install -g mupmup initAnd removes the unnecessary comments and add the following environment variables with your own values:
"env": {"PORT": 3002,"MONGO_URL": "mongodb://LOGIN:PASSWORD@ACCOUNT.mongohq.com:10023/MyApp",},
Atom allows you to overwrite its style in a specific file named
~/.atom/styles.less
(more info here).
For instance: ~/.atom/styles.less
.meteor-helper .panel-body p {font-size: 14px;color: red;}
There are currently 2 solutions provided by Windows users (see #36). Results seem to rely on the version of your OS.
In the settings of this plugin, just add the following:
C:\Users\userFolder\AppData\Local\.meteor\meteor.bat
where userFolder
is your short Windows's user name.
When using C:\Users\userFolder\AppData\Local\.meteor\meteor.bat
, SETLOCAL
to set meteor variables, the Windows command shell is pulling the normal SET
variables including PATH
which is required to point to the system32
folder
for tasklist.exe
.
Following the next steps should circumvent the issue:
meteor.bat
file - call the new copy atommeteor.bat
.SET
, then hit ENTER. Copy the PATH
variable
and paste it into the new atommetor.bat
file, just under the SETLOCAL
line. Instead of PATH=
, put SET PATH=
and remember to fix the line
wrapping. Windows likes to line return a lot.launcher.cmd
.
This file has one line: C:\Users\userFolder\AppData\Local\.meteor\atommeteor.bat
Removing any of these steps seems to break dependencies.
Yes, there is: https://www.youtube.com/watch?t=101&v=QSg3mKjhiws
The package needs to be activated for modifying your settings. Just toggle Meteor and you should be fine.
If you've used a relative path to your Meteor project don't forget to apply the same path modifier to the path of your settings.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.