Hello!
There is 'amber init' command, which seems to be working. I would be glad if you tried it out. First, uninstall the global amber cli you have installed now: (sudo) npm -g uninstall amber Then, install the one from the branch where this command is defined: (sudo) npm -g install git://github.com/amber-smalltalk/amber.git#amber-create (after the branch gets merged to master, it will probably not exist anymore, so try #master instead) Then, just create any empty directory where you want the project to reside, cd to it and run: amber init Thanks, Herby p.s.: Then you can uninstall this bleeding-edge amber cli by (sudo) npm uninstall -g amber and reinstall the stable one with (sudo) npm install -g amber. -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
can’t wait to put my teeth into it
Will do soon Let you know how it goes Thanks for your push!!! On Apr 13, 2014, at 1:23 PM, Herby Vojčík <[hidden email]> wrote: > Hello! > > There is 'amber init' command, which seems to be working. > I would be glad if you tried it out. > > First, uninstall the global amber cli you have installed now: > > (sudo) npm -g uninstall amber > > Then, install the one from the branch where this command is defined: > > (sudo) npm -g install git://github.com/amber-smalltalk/amber.git#amber-create > > (after the branch gets merged to master, it will probably not exist anymore, so try #master instead) > > Then, just create any empty directory where you want the project to reside, cd to it and run: > > amber init > > Thanks, Herby > > p.s.: Then you can uninstall this bleeding-edge amber cli by (sudo) npm uninstall -g amber and reinstall the stable one with (sudo) npm install -g amber. > > -- > You received this message because you are subscribed to the Google Groups "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Just do it. It is simple. :-) Currently installing....
On 4/13/14, sebastian <[hidden email]> wrote: > can’t wait to put my teeth into it > > Will do soon > > Let you know how it goes > > Thanks for your push!!! > > On Apr 13, 2014, at 1:23 PM, Herby Vojčík <[hidden email]> wrote: > >> Hello! >> >> There is 'amber init' command, which seems to be working. >> I would be glad if you tried it out. >> >> First, uninstall the global amber cli you have installed now: >> >> (sudo) npm -g uninstall amber >> >> Then, install the one from the branch where this command is defined: >> >> (sudo) npm -g install >> git://github.com/amber-smalltalk/amber.git#amber-create >> >> (after the branch gets merged to master, it will probably not exist >> anymore, so try #master instead) >> >> Then, just create any empty directory where you want the project to >> reside, cd to it and run: >> >> amber init >> >> Thanks, Herby >> >> p.s.: Then you can uninstall this bleeding-edge amber cli by (sudo) npm >> uninstall -g amber and reinstall the stable one with (sudo) npm install -g >> amber. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "amber-lang" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [hidden email]. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [hidden email]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
H. Hirzel wrote: > Herby > > This looks very promising but further tests are needed. > > The command amber init creates a project. > > But the project as such has a problem. The project as such is installed from grunt-init-amber template. If something is wrong in the project itself, point your effort there ;-) ambrer init just packages and runs grunt-init and bower install for you behind the scenes, so you need not to know (at the beginning ... you will need to know anyway later when upgrading or so); Herby -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Hannes Hirzel
On Apr 13, 2014, at 2:09 PM, H. Hirzel <[hidden email]> wrote: Just do it. It is simple. :-) Currently installing.... Man.. this shit is fantastic. You should be proud! It feels so right. Thanks a lot for your effort! Let’s work on removing the warnings… You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
NOW WORKS!
As Herby as updated https://github.com/amber-smalltalk/grunt-init-amber I did the following on Linux Mint (based Ubuntu 12.04 LTS) Manually remove the existing amber directory in ~/.grunt-init/amber as I had used grunt-init before. git clone git://github.com/amber-smalltalk/grunt-init-amber.git ~/.grunt-init/amber sudo npm -g install git://github.com/amber-smalltalk/amber.git#amber-create mkdir myAmberProject cd myAmberProject amber init amber serve open http://localhost:4000/ Add a method to class #AmberApplication save and commit check file /home/hhzl/myAmberProject/src/AmberApplication.st if the method has been added. --Hannes On 4/13/14, sebastian <[hidden email]> wrote: > > On Apr 13, 2014, at 2:09 PM, H. Hirzel <[hidden email]> wrote: > >> Just do it. It is simple. :-) Currently installing.... > > > Man.. this shit is fantastic. > > You should be proud! > > It feels so right. > > Thanks a lot for your effort! > > Let's work on removing the warnings... > > sebastian > > o/ > > -- > You received this message because you are subscribed to the Google Groups > "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [hidden email]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
H. Hirzel wrote: > NOW WORKS! > As Herby as updated https://github.com/amber-smalltalk/grunt-init-amber > > I did the following on Linux Mint (based Ubuntu 12.04 LTS) > > Manually remove the existing amber directory in ~/.grunt-init/amber as > I had used grunt-init before. > > > > git clone git://github.com/amber-smalltalk/grunt-init-amber.git > ~/.grunt-init/amber This is not needed... or I misunderstood something? > sudo npm -g install git://github.com/amber-smalltalk/amber.git#amber-create And hopefully not too long until this plain good old (sudo) npm -g install amber... the 0.12.5 release is planned to be a quick one, not waiting 3 months but just a week or a few. > mkdir myAmberProject > > cd myAmberProject > > amber init > > amber serve > > open http://localhost:4000/ > > Add a method to class #AmberApplication > > save and commit > > check file /home/hhzl/myAmberProject/src/AmberApplication.st > > if the method has been added. > > --Hannes -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
On 4/13/14, Herby Vojčík <[hidden email]> wrote:
> > > H. Hirzel wrote: >> NOW WORKS! >> As Herby as updated https://github.com/amber-smalltalk/grunt-init-amber >> >> I did the following on Linux Mint (based Ubuntu 12.04 LTS) >> >> Manually remove the existing amber directory in ~/.grunt-init/amber as >> I had used grunt-init before. >> >> >> >> git clone git://github.com/amber-smalltalk/grunt-init-amber.git >> ~/.grunt-init/amber > > This is not needed... or I misunderstood something? I do not know. I will redo the installation test with a fresh installation which never had grunt-init. > >> sudo npm -g install >> git://github.com/amber-smalltalk/amber.git#amber-create > > And hopefully not too long until this plain good old (sudo) npm -g install > amber... the 0.12.5 release is planned to be a quick one, not waiting 3 > months but just a week or a few. Yes, that would be very fine. This sole amber init is worth a 0.12.5 release as this brings down the installation complexity considerably. Let's now test it! >> mkdir myAmberProject >> >> cd myAmberProject >> >> amber init >> >> amber serve >> >> open http://localhost:4000/ >> >> Add a method to class #AmberApplication >> >> save and commit >> >> check file /home/hhzl/myAmberProject/src/AmberApplication.st >> >> if the method has been added. >> >> --Hannes > > -- > You received this message because you are subscribed to the Google Groups > "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [hidden email]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
[hidden email] wrote: > Well, Windows with Mingw/Msys isn't behaving as nicely. > > First, .grunt-init goes in /home/User/ and npm wants it in C:\Users\User\ ??? No one needs .grunt-init here. > So, need to copy it by hand. > > Then grunt-init amber works nicely. But this thread is about 'amber init', not 'grunt-init amber'... -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
On Sun, Apr 13, 2014 at 10:55 PM, Herby Vojčík <[hidden email]> wrote:
https://github.com/amber-smalltalk/grunt-init-amber
InstallationInstall grunt-init if you have not already done so. --> http://gruntjs.com/project-scaffoldingOr... am I on the wrong GH project?
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Herby Vojčík
Hi,
-- On Sun, Apr 13, 2014 at 10:20 PM, Herby Vojčík <[hidden email]> wrote:
No, cloning the repo is not required. Only if you want to run grunt-init manually from the console. Best, Manfred
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Herby Vojčík
On Sun, Apr 13, 2014 at 10:55 PM, Herby Vojčík <[hidden email]> wrote:
I also tried: npm -g install git://github.com/amber-smalltalk/amber.git#amber-create npm WARN `git config --get remote.origin.url` returned wrong result (git://github.com/amber-smalltalk/amber.git) and the thing is frozen. Phil
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Herby Vojčík
On Sun, Apr 13, 2014 at 10:55 PM, Herby Vojčík <[hidden email]> wrote:
Switching git:// with https:// gives:
$ npm -g install https://github.com/amber-smalltalk/amber.git#amber-create npm http GET https://github.com/amber-smalltalk/amber.git#amber-create npm http 200 https://github.com/amber-smalltalk/amber.git#amber-create npm ERR! not a package C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\tmp.tgz npm ERR! Error: ENOENT, open 'C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\package\package.json' npm ERR! If you need help, you may report this *entire* log, npm ERR! including the npm and node versions, at: npm ERR! <http://github.com/npm/npm/issues> npm ERR! System Windows_NT 6.2.9200 npm ERR! command "c:\\MinGW\\nodejs\\node.exe" "c:\\MinGW\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "-g" "install" "https://github.com/amber-smalltalk/amber.git#amber-create" npm ERR! cwd C:\MinGW\msys\1.0\home\User\Amber\200140413 npm ERR! node -v v0.10.26 npm ERR! npm -v 1.4.3 npm ERR! path C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\package\package.json npm ERR! code ENOENT npm ERR! errno 34 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\MinGW\msys\1.0\home\User\Amber\200140413\npm-debug.log npm ERR! not ok code 0
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Herby Vojčík
Thanks a lot Herby for integrating the grunt-init-amber project into the 'amber init' command. Best, Manfred
On Sun, Apr 13, 2014 at 6:23 PM, Herby Vojčík <[hidden email]> wrote: Hello! You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by philippeback
Hi,
-- On Sun, Apr 13, 2014 at 11:10 PM, [hidden email] <[hidden email]> wrote:
This looks more like an NPM on Windows issue. Unfortunately I can not help in that case. Best, Manfred You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Herby Vojčík
Hi guys,
I'm not done reading the code yet, but it looks awesome Herby! Let's talk about it tomorrow. This may deserve a release (once documented and tested) :) Cheers! Nico Herby Vojčík writes: > Hello! > > There is 'amber init' command, which seems to be working. > I would be glad if you tried it out. > > First, uninstall the global amber cli you have installed now: > > (sudo) npm -g uninstall amber > > Then, install the one from the branch where this command is defined: > > (sudo) npm -g install > git://github.com/amber-smalltalk/amber.git#amber-create > > (after the branch gets merged to master, it will probably not exist > anymore, so try #master instead) > > Then, just create any empty directory where you want the project to > reside, cd to it and run: > > amber init > > Thanks, Herby > > p.s.: Then you can uninstall this bleeding-edge amber cli by (sudo) npm > uninstall -g amber and reinstall the stable one with (sudo) npm install > -g amber. -- Nicolas Petton http://nicolas-petton.fr -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by philippeback
Retest: Amber installation on platform: Linux Mint (Ubuntu 12.04LTS)
========================================================= Situation before test ------------------------------ Clean setup Node was installed $ node --version v0.10.26 The JavaScript TaskRunner tool called 'grunt' is not installed. No amber installation Test installation of the most recent Amber ------------------------------------------------------------ To install the current branch 'amber-create' most recent commit. sudo npm -g install git://github.com/amber-smalltalk/amber.git#amber-create This now gives us a new command amber init So we create a project like this mkdir myAmberProject cd myAmberProject/ amber init Answer questions and _wait_ amber serve Welcome to Amber version 0.13.0-pre (NodeJS 0.10.26). Starting file server on http://127.0.0.1:4000 Result ---------- We only need a working 'node' installation to install Amber and create an initial project to start with Amber web development. To achieve this only two amber specific commands are needed. No manual installation of grunt or grunt-init was needed. Work with Amber IDE OK VERY GOOD On 4/13/14, [hidden email] <[hidden email]> wrote: > On Sun, Apr 13, 2014 at 10:55 PM, Herby Vojčík <[hidden email]> wrote: > >> >> >> [hidden email] wrote: >> >>> Well, Windows with Mingw/Msys isn't behaving as nicely. >>> >>> First, .grunt-init goes in /home/User/ and npm wants it in >>> C:\Users\User\ >>> >> >> ??? >> No one needs .grunt-init here. >> >> So, need to copy it by hand. >>> >>> Then grunt-init amber works nicely. >>> >> >> But this thread is about 'amber init', not 'grunt-init amber'... >> > > Switching git:// with https:// gives: > > $ npm -g install > https://github.com/amber-smalltalk/amber.git#amber-create > npm http GET https://github.com/amber-smalltalk/amber.git#amber-create > npm http 200 https://github.com/amber-smalltalk/amber.git#amber-create > npm ERR! not a package > C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\tmp.tgz > npm ERR! Error: ENOENT, open > 'C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\package\package.json' > npm ERR! If you need help, you may report this *entire* log, > npm ERR! including the npm and node versions, at: > npm ERR! <http://github.com/npm/npm/issues> > > npm ERR! System Windows_NT 6.2.9200 > npm ERR! command "c:\\MinGW\\nodejs\\node.exe" > "c:\\MinGW\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "-g" "install" " > https://github.com/amber-smalltalk/amber.git#amber-create" > npm ERR! cwd C:\MinGW\msys\1.0\home\User\Amber\200140413 > npm ERR! node -v v0.10.26 > npm ERR! npm -v 1.4.3 > npm ERR! path > C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\package\package.json > npm ERR! code ENOENT > npm ERR! errno 34 > npm ERR! > npm ERR! Additional logging details can be found in: > npm ERR! C:\MinGW\msys\1.0\home\User\Amber\200140413\npm-debug.log > npm ERR! not ok code 0 > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "amber-lang" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [hidden email]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [hidden email]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Awesome!
Who wants to share a check like this to see how it goes for Windows? On Apr 13, 2014, at 6:42 PM, H. Hirzel <[hidden email]> wrote: Retest: Amber installation on platform: Linux Mint (Ubuntu 12.04LTS) You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |