> 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.