Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Sites?

Sorry  no, I'm not done yet ;-)

If I click on the work Start I get
------------
Status:	Started at http://127.0.0.2:8080

Changes you make here won't affect the running site.
________

Which is baffling since I did nothing involving that URL.  And when I
click on the link on that URL I get:

{"Severity":"Error","Message":"File not found:
/A/index.html","HttpCode":404,"Code":0}{"Severity":"Error","Message":"File
not found: /127.0.0.2/index.html","HttpCode":404,"Code":0}

Of course then I realized that I did not have an index.html in that
project. I add purple.html and it works.

It works except its not the URL that makes sense. The default URL ought to be:
http://<domain-port>/<project-name>/<an html file>

I can get there by going back to the edit and changing the entries to
   /Purple           /Purple
and working out that I need to add /Purple/purple.html to the url
given in the URL.

The Sites feature is probably fine for server folks, but I think Orion
needs a "Serve this HTML file NOW" button. That's what devs want to
get started.

HTH,
jjb



On Wed, Dec 14, 2011 at 11:20 AM, John J Barton
<johnjbarton@xxxxxxxxxxxxxxx> wrote:
> On Wed, Dec 14, 2011 at 11:00 AM, John Arthorne
> <John_Arthorne@xxxxxxxxxx> wrote:
>> John J Barton wrote on 12/14/2011 12:03:35 AM:
>>> Sent by: orion-dev-bounces@xxxxxxxxxxx
>>
>>> Does anyone understand the Sites feature enough to explain it?  I've
>>> never gotten it to work and it seems like it ought to be simple
>>> enough.
>>
>>
>> I think the documentation gives a reasonably good basic explanation from an
>> end user perspective:
>>
>> http://wiki.eclipse.org/Orion/Documentation/User_Guide/Getting_started#Launching_your_project_as_a_website
>
> The first thing that happens is a dialog comes up asking for a name.
> The instructions don't say what this name means. I don't know what to
> put in this box. I put "Foo".
>
> Then page has a sentence I don't understand:
>
> "This will give you a row in which you can define a mapping from a
> folder in your Orion user workspace to the location on the server
> where the folder will be deployed."
>
> I don't care about those things. I want to serve my project at a URL.
> The first time around there is a nice menu to pick the project, I get:
>  /Purple           /
> Ok the RHS must be related to the URL. Which URL I have no idea.
>
> (Actually what I really want is just to serve my project, EOM. I don't
> want a "site", just load my .html file!)
>
> If I go back to the Foo site I will no longer see the nice menu.
> Instead there is a picture of a folder and when I click on it I get a
> new web page listing the folder contents.
>
> In addition this sentence makes no sense
> " Go back to the list of site configurations and click the Start
> button () next to your new site configuration."
> There is no start button.
>
> jjb


Back to the top