perak / kitchen-examples

Meteor Kitchen examples
164 stars 115 forks source link

Tested using install-win on Windows 8.1 and it fails #1

Closed peterennis closed 10 years ago

peterennis commented 10 years ago

C:\ae\kitchen-examples\example-dataview>meteor-kitchen ./example-dataview.json . /example-dataview Meteor Application Generator Copyright (c) Petar Korponai─ç petar.korponaic@gmail.com Reading input file... Executing "meteor create ./example-dataview/"... Error executing "meteor".

I have managed to get other meteor examples on windows to run as they produce a message for the packages that are missing. Using the meteor command only shows:

C:\ae\kitchen-examples\example-dataview>meteor run: You're not in a Meteor project directory.

To create a new Meteor project: meteor create For example: meteor create myapp

For more help, see 'meteor --help'.

C:\ae\kitchen-examples\example-dataview>

perak commented 10 years ago

Hi,

Sorry, I compiled "meteor-kitchen" for windows but I didn't tested it properly.

Please try:

meteor-kitchen .\example-dataview.json .\example-dataview

or just:

meteor-kitchen example-dataview.json example-dataview

BTW, which version of meteor you are using? (meteor --version or meteor -version or meteor /version ...).

Also, please copy & paste error messages from other examples: "I have managed to get other meteor examples on windows to run as they produce a message for the packages that are missing."

peterennis commented 10 years ago

Same error:

C:\ae\kitchen-examples\example-dataview>meteor-kitchen .\example-dataview.json . \example-dataview Meteor Application Generator Copyright (c) Petar Korponai─ç petar.korponaic@gmail.com Reading input file... Executing "meteor create .\example-dataview\"... Error executing "meteor". C:\ae\kitchen-examples\example-dataview>meteor run: You're not in a Meteor project directory. To create a new Meteor project: meteor create For example: meteor create myapp For more help, see 'meteor --help'. C:\ae\kitchen-examples\example-dataview>

C:\ae\kitchen-examples\example-dataview>meteor --version Release 0.8.3

Version 0.9.0.1 for windows is still under development.

On Tuesday, September 16, 2014 11:05 PM, Petar Korponaić notifications@github.com wrote:

Hi, Sorry, I compiled "meteor-kitchen" for windows but I didn't tested it properly. Please try: * Execute commands with backslash \ instead of slash / (in windows it's opposite) so maybe: meteor-kitchen .\example-dataview.json .\example-dataview
or just: meteor-kitchen example-dataview.json example-dataview
BTW, which version of meteor you are using? (meteor --version or meteor -version or meteor /version ...). Also, please copy & paste error messages from other examples: "I have managed to get other meteor examples on windows to run as they produce a message for the packages that are missing." — Reply to this email directly or view it on GitHub.

peterennis commented 10 years ago

Re: Also, please copy & paste error messages from other examples: "I have managed to get other meteor examples on windows to run as they produce a message for the packages that are missing."

See here: https://github.com/matteodem/meteor-boilerplate/issues/29

I am not sure how your generator is working, but if the js code is available first, then packages loaded it is clear what is missing and the broken system can be worked around.

On Tuesday, September 16, 2014 11:05 PM, Petar Korponaić notifications@github.com wrote:

Hi, Sorry, I compiled "meteor-kitchen" for windows but I didn't tested it properly. Please try: * Execute commands with backslash \ instead of slash / (in windows it's opposite) so maybe: meteor-kitchen .\example-dataview.json .\example-dataview
or just: meteor-kitchen example-dataview.json example-dataview
BTW, which version of meteor you are using? (meteor --version or meteor -version or meteor /version ...). Also, please copy & paste error messages from other examples: "I have managed to get other meteor examples on windows to run as they produce a message for the packages that are missing." — Reply to this email directly or view it on GitHub.

perak commented 10 years ago

It looks like meteor is not .exe - maybe it's .bat or something... I'l check it when I find some free time.

BTW, please let me know how you deal with meteorite (mrt) under windows?

perak commented 10 years ago

Maybe workaround would be: I can modify windows build to NOT execute meteor nor meteorite at all - it should just produce directory structure, .js and .html files (?)

perak commented 10 years ago

Generator is working this way:

Maybe workaround would be to execute only last step and print all packages that you should manually add (without meteorite - using git clone ...).

What do you think?

peterennis commented 10 years ago

At the end of the meteor boilerplate issue is a link to:

https://www.discovermeteor.com/blog/using-meteor-and-atmopshere-on-windows/

Short version: clone the repo to /packages

On Wednesday, September 17, 2014 10:12 AM, Petar Korponaić notifications@github.com wrote:

It looks like meteor is not .exe - maybe it's .bat or something... I'l check it when I find some free time.
BTW, please let me know how you deal with meteorite (mrt) under windows? — Reply to this email directly or view it on GitHub.

peterennis commented 10 years ago

C:\Users\peterennis\AppData\Local.meteor>dir m Volume in drive C is W81 Volume Serial Number is 309F-C170 Directory of C:\Users\peterennis\AppData\Local.meteor 07/29/2014 05:10 PM 644 meteor.bat 1 File(s) 644 bytes 0 Dir(s) 6,940,680,192 bytes free C:\Users\peterennis\AppData\Local.meteor>type meteor.bat @echo off setlocal EnableDelayedExpansion set _METEORROOT=%~dp0 if exist "%_METEORROOT%.git" ( rem In a checkout, run from the dev bundle set "NODE_PATH=%_METEORROOT%dev_bundle\lib\node_modules" "%_METEORROOT%dev_bundle\bin\node.exe" "%_METEORROOT%tools\main.js" % ) else ( rem In the warehouse, run the latest version if exist "%_METEORROOT%tools\latest" ( set /p LATEST=<"%_METEORROOT%tools\latest" "%_METEORROOT%tools!LATEST!\bin\meteor.bat" % ) else ( set "NODE_PATH=%_METEORROOT%..\lib\node_modules" "%_METEORROOT%node.exe" "%_METEORROOT%..\tools\main.js" % ) ) C:\Users\peterennis\AppData\Local.meteor>

On Wednesday, September 17, 2014 10:12 AM, Petar Korponaić notifications@github.com wrote:

It looks like meteor is not .exe - maybe it's .bat or something... I'l check it when I find some free time.
BTW, please let me know how you deal with meteorite (mrt) under windows? — Reply to this email directly or view it on GitHub.

peterennis commented 10 years ago

Not really.

A meteor project is needed.

meteor myproject then delete prototype contents of myproject create your structure/files

That will give users the most flexibility and should work with all versions, even if it is painful with no package management on windows.

On Wednesday, September 17, 2014 10:16 AM, Petar Korponaić notifications@github.com wrote:

Maybe workaround would be: I can modify windows build to NOT execute meteor nor meteorite at all, just to produce directory structure, .js and .html files.
— Reply to this email directly or view it on GitHub.

perak commented 10 years ago

0.9+ doesn't use meteorite, so I hope version 0.9+ for windows will not be a pain with packages anymore. Anyway, I'l spend some time to test generator under windows and fix issues / create some workarounds.

peterennis commented 10 years ago

This way: * It reads input file * If there is no destination directory or directory doesn't contains .meteor dir then it executes meteor to create new empty project * Generator then removes two default packages ("autopublish" and "insecure") and builds list of packages that should be added (based on input file: does application use account system or not, what components are used in your input file etc.) * creates directory structure * in last step it generates and writes .html, .js and .less files * executes "meteor add ..." to add all required meteor packages * executes "mrt add ..." to add all required meteorite packages

On Wednesday, September 17, 2014 10:42 AM, Petar Korponaić notifications@github.com wrote:

Generator is working this way: * It reads input file * If there is no destination directory or directory doesn't contains .meteor dir then it executes meteor to create new empty project * Generator then removes two default packages ("autopublish" and "insecure") and builds list of packages that should be added (based on input file: does application use account system or not, what components are used in your input file etc.) * executes "meteor add ..." to add all required meteor packages * executes "mrt add ..." to add all required meteorite packages * creates directory structure * in last step it generates and writes .html, .js and .less files Maybe workaround would be to execute only last step and print all packages that you should manually add (without meteorite - using git clone ...). What do you think? — Reply to this email directly or view it on GitHub.

peterennis commented 10 years ago

FYI

See here: https://github.com/matteodem/meteor-boilerplate/issues/33

Code commit is here: https://github.com/matteodem/meteor-boilerplate/commit/e0b70273cd220eeaecf93cbb9c2841203b62e0f4

You may want to include it in your generator.

Attached favicon 32x32 with 16x16 and a multi resolution version 256x256...

Thanks,

Peter

On Wednesday, September 17, 2014 11:03 AM, Petar Korponaić notifications@github.com wrote:

0.9+ doesn't use meteorite, so I hope version 0.9+ for windows will not be a pain with packages anymore. Anyway, I'l spend some time to test generator under windows and fix issues / create some workarounds. — Reply to this email directly or view it on GitHub.

peterennis commented 10 years ago

I do not see the icons in the last message. If they were filtered out let me know where to send them.

cupcakes_black_256x256

perak commented 10 years ago

Peter,

Did you made 16x16 & 32x32 "cupcake" icon for "kitchen"? If so, that's awesome! You can send me it to petar.korponaic@gmail.com and I'l include it. I'l add you into contributors page.

BTW, I tried before to simple resize "cupcake" to 16x16 and I got catastrofic result :)

peterennis commented 10 years ago

Out of town today. Will send it tomorrow.

On Wednesday, September 17, 2014 9:29 PM, Petar Korponaić notifications@github.com wrote:

Peter, Did you made 16x16 & 32x32 "cupcake" icon for "kitchen"? If so, that's awesome! You can send me it to petar.korponaic@gmail.com and I'l include it. I'l add you into contributors page.
BTW, I tried before to simple resize "cupcake" to 16x16 and I got catastrofic result :) — Reply to this email directly or view it on GitHub.