機械翻訳について

サイトの作成

create-siteコマンドとそのオプションを使用して、サイトを作成できます。

cecss create-site -hコマンドを実行して、使用方法と例を確認します:

Usage: cec create-site <name>

Creates the Site <name> for the content from local or from OCE server. By 
default, it creates a StarterSite. Optionally specify -f <source> to create 
from different source.

Options:
  --from, -f      <source> Source to create from
  --content, -c   <content> The absolute path of the local OCE template zip 
file
  --server, -s    flag to indicate to use the content types from server
  --navtypes, -n  <navtypes> The comma separated list of content types from 
server to be used as site navigation
  --types, -t     <types> The comma separated list of content types on the 
server, if not specified, all content types will be used
  --help, -h      Show help                                                                                                                                                
[boolean]

Examples: 
  cecss create-site NewSite -c StarterBlog_export.zip
  cecss create-site NewsSite -c ~/Downloads/NewsTemplate.zip
  cecss create-site NewsSite -f ~/Downloads/ReactSiteTemplate.zip -c 
~/Downloads/NewsTemplate.zip
  cecss create-site BlogSite -s -n Blog
  cecss create-site BlogSite -s -n Blog -t Blog,Author

コンテンツ・タイプ制限

コンテンツ・タイプの名前に"-"の文字が含まれているか、またはデジタル文字で始まる場合、このタイプ用に生成されたReactコンポーネントはコンパイルされないため、サイトは実行できません。 名前が制限に違反しているコンテンツ・タイプは使用しないでください。

ローカル・コンテンツを使用したサイトの作成

ローカル・コンテンツには、エクスポートされたOracle Content Managementテンプレートのzipファイルまたはエクスポートされたチャネル・コンテンツのzipファイルを指定できます。 Zipファイル内のコンテンツ・タイプごとに、Reactコンポーネントが生成され、サイト・ナビゲーションにもタイプが使用されます。

cecss create-site NewsSite -c ~/Downloads/NewsTemplate.zip

作成されたサイトは、サイトと同じ名前のフォルダに配置されます。

Oracle Content Managementサーバー・コンテンツを含むサイトの作成

Oracle Content Managementサーバーのコンテンツ・タイプを含むサイトを作成するには、最初にOracle Content Managementサーバーを構成する必要があります。 サイト・ナビゲーションに使用するコンテンツ・タイプを少なくとも1つ指定する必要があります。

  • ナビゲーションで使用するタイプを指定して、Oracle Content Managementサーバー上のすべてのコンテンツ・タイプのサイトを作成します:

    cecss create-site serverSite -s -n Article
    cecss create-site serverSite -s -n Article,Author
  • Oracle Content Managementサーバーに特定のコンテンツ・タイプを持つサイトを作成します。 ナビゲーションに使用されるコンテンツ・タイプは自動的に含められます。

    cecss create-site serverSite -s -n Article,Author -t Employee