Forums / Install & configuration / Setting up a new site, how hard can it be?!

Setting up a new site, how hard can it be?!

Author Message

Claus Jensen

Thursday 27 February 2003 5:37:03 am

Hi, Im trying to set up a new site, but are getting a little confused.

When reading in the sdk.ez.no, Main Concepts, they are setting up a new site my just editing in an existing site.ini file. While you could use a config.sh located in <ezpublish-home-dir>/config/config.sh to set up a new site.

In other words they are using the same term "site" on 2 different things.

The first is just making a new subfolder under the default "site", called www. Like in the sdk.

The second is using config.sh to make a whole new directory located in <ezpublish-home-dir>/sites... I got an error while doing this too, saying :
" ./config.sh: line 242: /opt/ezpublish//opt/ezpublish/apache-1.3.7/bin/apachectl: No such file or directory"
... so I think it went bad, just ended up with 3 files in the new "site" directory located here <ezpublish-home-dir>/sites/test

Anybody knows how I should make a new site, and whats the difference between the two? Any help appreciated. Thanks.

claÜs

Karsten Jennissen

Thursday 27 February 2003 6:31:35 am

> Hi, Im trying to set up a new site, but are getting a little
> confused.
>
> When reading in the sdk.ez.no, Main Concepts, they are
> setting up a new site my just editing in an existing
> site.ini file. While you could use a config.sh located in
> <ezpublish-home-dir>/config/config.sh to set up a new
> site.
>
> In other words they are using the same term "site"
> on 2 different things.
>
> The first is just making a new subfolder under the default
> "site", called www. Like in the sdk.
>
> The second is using config.sh to make a whole new directory
> located in <ezpublish-home-dir>/sites... I got an
> error while doing this too, saying :
> " ./config.sh: line 242:
> /opt/ezpublish//opt/ezpublish/apache-1.3.7/bin/apachectl: No
> such file or directory"
> ... so I think it went bad, just ended up with 3 files in
> the new "site" directory located here
> <ezpublish-home-dir>/sites/test
>
> Anybody knows how I should make a new site, and whats the
> difference between the two? Any help appreciated. Thanks.
>
> claÜs

Hi Claus,

i am not sure what the config.sh script does. But I'd go for the manual way. By "setting up a new site" you refer to creating your own site based on ez publish, right?

I'd do the following (after having installed ez publish + demo data + database)
- copy the design/demo to design/(yourdesignname)
- copy settings/siteaccess/demo to settings/siteaccess/(sitename)
- edit settings/siteaccess/site.ini.append to reflect the new design directory
- go on modifying the templates in your design folder you just copied to your liking and start learning how the template language works.

You might find stuff at http://ezwiki.blanko.info helpful.

Regards,
Karsten

Srinivas Gedela

Saturday 12 July 2003 4:36:50 am

Hi ! I have recently downloaded latest version of ez publish 3.1-1 and manually installed following the instructions on a Linux machine.

How to proceed further in creating a new website ?

I have gone through the SDK, but unable to understand.

Is there any step by step documentation which clearly explains for new comers ?

Please do reply...

Thanks & Regards,
Srinivas