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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 10:51:48
Script start
Timing: Jan 18 2025 10:51:48
Module start 'layout'
Timing: Jan 18 2025 10:51:48
Module start 'content'
Timing: Jan 18 2025 10:51:48
Module end 'content'
Timing: Jan 18 2025 10:51:48
Script end

Main resources:

Total runtime0.0174 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 588.0703152.6406
Module start 'layout' 0.00730.0030 740.710939.4766
Module start 'content' 0.01030.0050 780.187593.2891
Module end 'content' 0.01530.0020 873.476634.3047
Script end 0.0174  907.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002614.6816140.0002
Check MTime0.00126.7512140.0001
Mysql Total
Database connection0.00074.164010.0007
Mysqli_queries0.003017.068630.0010
Looping result0.00000.091910.0000
Template Total0.00179.710.0017
Template load0.00094.934510.0009
Template processing0.00084.772710.0008
Override
Cache load0.00063.530510.0006
General
dbfile0.00031.534280.0000
String conversion0.00000.039840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs