Hello
What is the expected outcome if one follows the instructions on http://amber-lang.net/index.html#get-started ? I did an installation of Amber on a pristine installation of a Ubuntu 12.04 (LTS) derived Linux. The steps on the web site -------------------------------------- # Install the CLI tool `amber` npm install -g amber # Initialize your project as bower package cd /path/to/myproject bower init # Load amber via bower in your project bower install amber --save # Serve amber on localhost:4000 amber serve To make it work I had to do --------------------------------------- sudo npm install -g amber sudo npm install -g bower # Initialize your project as bower package cd /path/to/myproject bower init bower install amber --save # Serve amber on localhost:4000 amber serve Result --------- Going to http://localhost:4000/ brought the following answer 404 Not found Did you forget to put an index.html file into the directory which is served by "bin/amber serve"? To solve this you can: create an index.html in the served directory. can also specify the location of a page to be served whenever path does not resolve to a file with the "--fallback-page" option. change the directory to be served with the "--base-path" option. Is this the expected result? What should a new user do to get a starter index.html file? Regards 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. |
P.S. The link what to do next should not go to
https://github.com/amber-smalltalk/amber/wiki/Getting-started which is two months old but rather to a place where it is explained how to get an index.html file. On 3/15/14, H. Hirzel <[hidden email]> wrote: > Hello > > What is the expected outcome if one follows the instructions on > > http://amber-lang.net/index.html#get-started > ? > > I did an installation of Amber on a pristine installation of a Ubuntu > 12.04 (LTS) derived Linux. > > > The steps on the web site > -------------------------------------- > > # Install the CLI tool `amber` > npm install -g amber > > # Initialize your project as bower package > cd /path/to/myproject > bower init > > # Load amber via bower in your project > bower install amber --save > > # Serve amber on localhost:4000 > amber serve > > > To make it work I had to do > --------------------------------------- > > sudo npm install -g amber > sudo npm install -g bower > > # Initialize your project as bower package > cd /path/to/myproject > bower init > > bower install amber --save > > # Serve amber on localhost:4000 > amber serve > > > Result > --------- > > Going to http://localhost:4000/ brought the following answer > > 404 Not found > > Did you forget to put an index.html file into the directory which is > served by "bin/amber serve"? To solve this you can: > > create an index.html in the served directory. > can also specify the location of a page to be served whenever path > does not resolve to a file with the "--fallback-page" option. > change the directory to be served with the "--base-path" option. > > > Is this the expected result? > > What should a new user do to get a starter index.html file? > > Regards > 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. |
P.S. 2
Copying all the content from the Amber directory from my Windows machine and putting it into /path/to/myproject made it work. It includes the 'vendor' directory. But I wonder: do I now still have the old version for the client side? And just the new server side amber? amber --version does not give a result. On 3/15/14, H. Hirzel <[hidden email]> wrote: > P.S. The link what to do next should not go to > > https://github.com/amber-smalltalk/amber/wiki/Getting-started > > which is two months old but rather to a place where it is explained > how to get an index.html file. > > On 3/15/14, H. Hirzel <[hidden email]> wrote: >> Hello >> >> What is the expected outcome if one follows the instructions on >> >> http://amber-lang.net/index.html#get-started >> ? >> >> I did an installation of Amber on a pristine installation of a Ubuntu >> 12.04 (LTS) derived Linux. >> >> >> The steps on the web site >> -------------------------------------- >> >> # Install the CLI tool `amber` >> npm install -g amber >> >> # Initialize your project as bower package >> cd /path/to/myproject >> bower init >> >> # Load amber via bower in your project >> bower install amber --save >> >> # Serve amber on localhost:4000 >> amber serve >> >> >> To make it work I had to do >> --------------------------------------- >> >> sudo npm install -g amber >> sudo npm install -g bower >> >> # Initialize your project as bower package >> cd /path/to/myproject >> bower init >> >> bower install amber --save >> >> # Serve amber on localhost:4000 >> amber serve >> >> >> Result >> --------- >> >> Going to http://localhost:4000/ brought the following answer >> >> 404 Not found >> >> Did you forget to put an index.html file into the directory which is >> served by "bin/amber serve"? To solve this you can: >> >> create an index.html in the served directory. >> can also specify the location of a page to be served whenever path >> does not resolve to a file with the "--fallback-page" option. >> change the directory to be served with the "--base-path" option. >> >> >> Is this the expected result? >> >> What should a new user do to get a starter index.html file? >> >> Regards >> 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. |
http://docs.amber-lang.net/ is much more up to date. Though it is still minimal and wip.
H. Hirzel wrote: > P.S. 2 > > Copying all the content from the Amber directory from my Windows > machine and putting it into > > /path/to/myproject > > made it work. It includes the 'vendor' directory. > > But I wonder: do I now still have the old version for the client side? > And just the new server side amber? > > amber --version > > does not give a result. > > > > > > On 3/15/14, H. Hirzel<[hidden email]> wrote: >> P.S. The link what to do next should not go to >> >> https://github.com/amber-smalltalk/amber/wiki/Getting-started >> >> which is two months old but rather to a place where it is explained >> how to get an index.html file. >> >> On 3/15/14, H. Hirzel<[hidden email]> wrote: >>> Hello >>> >>> What is the expected outcome if one follows the instructions on >>> >>> http://amber-lang.net/index.html#get-started >>> ? >>> >>> I did an installatio >>> 12.04 (LTS) derived Linux. >>> >>> >>> The steps on the web site >>> -------------------------------------- >>> >>> # Install the CLI tool `amber` >>> npm install -g amber >>> >>> # Initialize your project as bower package >>> cd /path/to/myproject >>> bower init >>> >>> # Load amber via bower in your project >>> bower install amber --save >>> >>> # Serve amber on localhost:4000 >>> amber serve >>> >>> >>> To make it work I had to do >>> --------------------------------------- >>> >>> sudo npm install -g amber >>> sudo npm install -g bower >>> >>> # Initialize your project as bower package >>> cd /path/to/myproject >>> bower init >>> >>> bower install amber --save >>> >>> # Serve amber on localhost:4000 >>> amber serve >>> >>> >>> Result >>> --------- >>> >>> Going to http://localhost:4000/ brought the following answer >>> >>> 404 Not found >>> >>> Did you forget to put an index.html file into the direct >>> served by "bin/amber serve"? To solve this you can: >>> >>> create an index.html in the served directory. >>> can also specify the location of a page to be served whenever path >>> does not resolve to a file with the "--fallback-page" option. >>> change the directory to be served with the "--base-path" option. >>> >>> >>> Is this the expected result? >>> >>> What should a new user do to get a starter index.html file? >>> >>> Regards >>> 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. |
Thank you Herby, this was the solution!
The file index.html on http://docs.amber-lang.net/getting-started.html is what I needed. My suggestion for a change on page http://amber-lang.net/index.html#get-started Change link [Getting-started](https://github.com/amber-smalltalk/amber/wiki/Getting-started) to [Getting-started](http://docs.amber-lang.net/getting-started.html) I think this is better than the wiki though http://docs.amber-lang.net is not complete yet. --Hannes On 3/15/14, Herby Vojčík <[hidden email]> wrote: > http://docs.amber-lang.net/ is much more up to date. Though it is still > minimal and wip. > > > H. Hirzel wrote: >> P.S. 2 >> >> Copying all the content from the Amber directory from my Windows >> machine and putting it into >> >> /path/to/myproject >> >> made it work. It includes the 'vendor' directory. >> >> But I wonder: do I now still have the old version for the client side? >> And just the new server side amber? >> >> amber --version >> >> does not give a result. >> >> >> >> >> >> On 3/15/14, H. Hirzel<[hidden email]> wrote: >>> P.S. The link what to do next should not go to >>> >>> https://github.com/amber-smalltalk/amber/wiki/Getting-started >>> >>> which is two months old but rather to a place where it is explained >>> how to get an index.html file. >>> >>> On 3/15/14, H. Hirzel<[hidden email]> wrote: >>>> Hello >>>> >>>> What is the expected outcome if one follows the instructions on >>>> >>>> http://amber-lang.net/index.html#get-started >>>> ? >>>> >>>> I did an installatio > n of Amber on a pristine installation of a Ubuntu >>>> 12.04 (LTS) derived Linux. >>>> >>>> >>>> The steps on the web site >>>> -------------------------------------- >>>> >>>> # Install the CLI tool `amber` >>>> npm install -g amber >>>> >>>> # Initialize your project as bower package >>>> cd /path/to/myproject >>>> bower init >>>> >>>> # Load amber via bower in your project >>>> bower install amber --save >>>> >>>> # Serve amber on localhost:4000 >>>> amber serve >>>> >>>> >>>> To make it work I had to do >>>> --------------------------------------- >>>> >>>> sudo npm install -g amber >>>> sudo npm install -g bower >>>> >>>> # Initialize your project as bower package >>>> cd /path/to/myproject >>>> bower init >>>> >>>> bower install amber --save >>>> >>>> # Serve amber on localhost:4000 >>>> amber serve >>>> >>>> >>>> Result >>>> --------- >>>> >>>> Going to http://localhost:4000/ brought the following answer >>>> >>>> 404 Not found >>>> >>>> Did you forget to put an index.html file into the direct > ory which is >>>> served by "bin/amber serve"? To solve this you can: >>>> >>>> create an index.html in the served directory. >>>> can also specify the location of a page to be served whenever path >>>> does not resolve to a file with the "--fallback-page" option. >>>> change the directory to be served with the "--base-path" option. >>>> >>>> >>>> Is this the expected result? >>>> >>>> What should a new user do to get a starter index.html file? >>>> >>>> Regards >>>> 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. |
In reply to this post by Herby Vojčík
Indeed, we're working on a new doc. This doc is intended to be for the upcoming release though, and is still missing important points. Cheers, Nico Herby Vojčík writes: > http://docs.amber-lang.net/ is much more up to date. Though it is still minimal and wip. > > > H. Hirzel wrote: >> P.S. 2 >> >> Copying all the content from the Amber directory from my Windows >> machine and putting it into >> >> /path/to/myproject >> >> made it work. It includes the 'vendor' directory. >> >> But I wonder: do I now still have the old version for the client side? >> And just the new server side amber? >> >> amber --version >> >> does not give a result. >> >> >> >> >> >> On 3/15/14, H. Hirzel<[hidden email]> wrote: >>> P.S. The link what to do next should not go to >>> >>> https://github.com/amber-smalltalk/amber/wiki/Getting-started >>> >>> which is two months old but rather to a place where it is explained >>> how to get an index.html file. >>> >>> On 3/15/14, H. Hirzel<[hidden email]> wrote: >>>> Hello >>>> >>>> What is the expected outcome if one follows the instructions on >>>> >>>> http://amber-lang.net/index.html#get-started >>>> ? >>>> >>>> I did an installatio > n of Amber on a pristine installation of a Ubuntu >>>> 12.04 (LTS) derived Linux. >>>> >>>> >>>> The steps on the web site >>>> -------------------------------------- >>>> >>>> # Install the CLI tool `amber` >>>> npm install -g amber >>>> >>>> # Initialize your project as bower package >>>> cd /path/to/myproject >>>> bower init >>>> >>>> # Load amber via bower in your project >>>> bower install amber --save >>>> >>>> # Serve amber on localhost:4000 >>>> amber serve >>>> >>>> >>>> To make it work I had to do >>>> --------------------------------------- >>>> >>>> sudo npm install -g amber >>>> sudo npm install -g bower >>>> >>>> # Initialize your project as bower package >>>> cd /path/to/myproject >>>> bower init >>>> >>>> bower install amber --save >>>> >>>> # Serve amber on localhost:4000 >>>> amber serve >>>> >>>> >>>> Result >>>> --------- >>>> >>>> Going to http://localhost:4000/ brought the following answer >>>> >>>> 404 Not found >>>> >>>> Did you forget to put an index.html file into the direct > ory which is >>>> served by "bin/amber serve"? To solve this you can: >>>> >>>> create an index.html in the served directory. >>>> can also specify the location of a page to be served whenever path >>>> does not resolve to a file with the "--fallback-page" option. >>>> change the directory to be served with the "--base-path" option. >>>> >>>> >>>> Is this the expected result? >>>> >>>> What should a new user do to get a starter index.html file? >>>> >>>> Regards >>>> Hannes >>>> >> -- 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 Hannes Hirzel
Le lundi 17 mars 2014 10:27:11 UTC+1, Hannes a écrit : Thank you Herby, this was the solution! +1 a+ Vicnet 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 |