[Test][0.12.3] Installing Amber following http://amber-lang.net/index.html#get-started

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Test][0.12.3] Installing Amber following http://amber-lang.net/index.html#get-started

Hannes Hirzel
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.
Reply | Threaded
Open this post in threaded view
|

Re: [Test][0.12.3] Installing Amber following http://amber-lang.net/index.html#get-started

Hannes Hirzel
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.
Reply | Threaded
Open this post in threaded view
|

Re: [Test][0.12.3] Installing Amber following http://amber-lang.net/index.html#get-started

Hannes Hirzel
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.
Reply | Threaded
Open this post in threaded view
|

Re: [Test][0.12.3] Installing Amber following http://amber-lang.net/index.html#get-started

Herby Vojčík
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.
Reply | Threaded
Open this post in threaded view
|

Re: [Test][0.12.3] Installing Amber following http://amber-lang.net/index.html#get-started

Hannes Hirzel
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.
Reply | Threaded
Open this post in threaded view
|

Re: [Test][0.12.3] Installing Amber following http://amber-lang.net/index.html#get-started

Nicolas Petton
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.
Reply | Threaded
Open this post in threaded view
|

Re: [Test][0.12.3] Installing Amber following http://amber-lang.net/index.html#get-started

Vicnet-2
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!
The file
    index.html
on <a href="http://docs.amber-lang.net/getting-started.html" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdocs.amber-lang.net%2Fgetting-started.html\46sa\75D\46sntz\0751\46usg\75AFQjCNHpQS1UBuuRisySefGL4GbYjZs0Eg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdocs.amber-lang.net%2Fgetting-started.html\46sa\75D\46sntz\0751\46usg\75AFQjCNHpQS1UBuuRisySefGL4GbYjZs0Eg';return true;">http://docs.amber-lang.net/getting-started.html is what I needed.
My suggestion for a change on page
    <a href="http://amber-lang.net/index.html#get-started" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Famber-lang.net%2Findex.html%23get-started\46sa\75D\46sntz\0751\46usg\75AFQjCNFibwaeNfs6xzcW6wdgdRfOS1QNuA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Famber-lang.net%2Findex.html%23get-started\46sa\75D\46sntz\0751\46usg\75AFQjCNFibwaeNfs6xzcW6wdgdRfOS1QNuA';return true;">http://amber-lang.net/index.html#get-started
Change link
  [Getting-started](<a href="https://github.com/amber-smalltalk/amber/wiki/Getting-started" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Famber-smalltalk%2Famber%2Fwiki%2FGetting-started\46sa\75D\46sntz\0751\46usg\75AFQjCNF_SzJOWGiYsZzS9ehezzGeHSDWsA';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Famber-smalltalk%2Famber%2Fwiki%2FGetting-started\46sa\75D\46sntz\0751\46usg\75AFQjCNF_SzJOWGiYsZzS9ehezzGeHSDWsA';return true;">https://github.com/amber-smalltalk/amber/wiki/Getting-started)
to
  [Getting-started](<a href="http://docs.amber-lang.net/getting-started.html" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdocs.amber-lang.net%2Fgetting-started.html\46sa\75D\46sntz\0751\46usg\75AFQjCNHpQS1UBuuRisySefGL4GbYjZs0Eg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdocs.amber-lang.net%2Fgetting-started.html\46sa\75D\46sntz\0751\46usg\75AFQjCNHpQS1UBuuRisySefGL4GbYjZs0Eg';return true;">http://docs.amber-lang.net/getting-started.html)
I think this is better than the wiki though <a href="http://docs.amber-lang.net" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdocs.amber-lang.net\46sa\75D\46sntz\0751\46usg\75AFQjCNGN2fBi25VxKU-3a0ZdDMGzqJ-aCw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdocs.amber-lang.net\46sa\75D\46sntz\0751\46usg\75AFQjCNGN2fBi25VxKU-3a0ZdDMGzqJ-aCw';return true;">http://docs.amber-lang.net
is not complete yet.
 
+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.