mirror of https://github.com/apache/cloudstack.git
109 lines
4.0 KiB
Plaintext
109 lines
4.0 KiB
Plaintext
#Licensed to the Apache Software Foundation (ASF) under one
|
||
#or more contributor license agreements. See the NOTICE file
|
||
#distributed with this work for additional information
|
||
#regarding copyright ownership. The ASF licenses this file
|
||
#to you under the Apache License, Version 2.0 (the
|
||
#"License"); you may not use this file except in compliance
|
||
#with the License. You may obtain a copy of the License at
|
||
#http://www.apache.org/licenses/LICENSE-2.0
|
||
#Unless required by applicable law or agreed to in writing,
|
||
#software distributed under the License is distributed on an
|
||
#"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
#KIND, either express or implied. See the License for the
|
||
#specific language governing permissions and limitations
|
||
#under the License.
|
||
#
|
||
# Translators:
|
||
# Isaac Chiang <isaacchiang@gmail.com>, 2013.
|
||
msgid ""
|
||
msgstr ""
|
||
"Project-Id-Version: Apache CloudStack Docs\n"
|
||
"POT-Creation-Date: 2013-04-12T11:19:38\n"
|
||
"PO-Revision-Date: 2013-04-12 11:35+0000\n"
|
||
"Last-Translator: sebgoa <runseb@gmail.com>\n"
|
||
"Language-Team: None\n"
|
||
"MIME-Version: 1.0\n"
|
||
"Content-Type: text/plain; charset=UTF-8\n"
|
||
"Content-Transfer-Encoding: 8bit\n"
|
||
"Language: zh_TW\n"
|
||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||
|
||
#. Tag: title
|
||
#, no-c-format
|
||
msgid "Building and Installing Marvin"
|
||
msgstr "建立及安裝 Marvin"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"Marvin is built with Maven and is dependent on APIdoc. To build it do the "
|
||
"following in the root tree of &PRODUCT;:"
|
||
msgstr "Marvin是以Maven建立,與APIdoc相關。想要建立Marvin來使用root tree of &PRODUCT;執行以下:"
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid "mvn -P developer -pl :cloud-apidoc"
|
||
msgstr "mvn -P developer -pl :cloud-apidoc"
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid "mvn -P developer -pl :cloud-marvin"
|
||
msgstr "mvn -P developer -pl :cloud-marvin"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"If successful the build will have created the cloudstackAPI Python package "
|
||
"under tools/marvin/marvin/cloudstackAPI as well as a gziped Marvin package "
|
||
"under tools/marvin dist. To install the Python Marvin module do the "
|
||
"following in tools/marvin:"
|
||
msgstr ""
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid "sudo python ./setup.py install"
|
||
msgstr "sudo python ./setup.py install"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"The dependencies will be downloaded the Python module installed and you "
|
||
"should be able to use Marvin in Python. Check that you can import the module"
|
||
" before starting to use it."
|
||
msgstr "當 Python module安裝後dependencies會自動下載,並且您就可以在Python使用Marvin,檢查您可以在啟動前匯入module "
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid ""
|
||
"$ python\n"
|
||
"Python 2.7.3 (default, Nov 17 2012, 19:54:34) \n"
|
||
"[GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin\n"
|
||
"Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n"
|
||
">>> import marvin\n"
|
||
">>> from marvin.cloudstackAPI import *\n"
|
||
">>> "
|
||
msgstr "$ python\nPython 2.7.3 (default, Nov 17 2012, 19:54:34) \n[GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>> import marvin\n>>> from marvin.cloudstackAPI import *\n>>> "
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"You could also install it using <emphasis>pip</emphasis> or "
|
||
"<emphasis>easy_install</emphasis> using the local distribution package in "
|
||
"tools/marvin/dist :"
|
||
msgstr "您也可以使用<emphasis>pip</emphasis> 或 <emphasis>easy_install</emphasis>來安裝,藉由使用tools/marvin/dist中的 local distribution package:"
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid "pip install tools/marvin/dist/Marvin-0.1.0.tar.gz"
|
||
msgstr "pip install tools/marvin/dist/Marvin-0.1.0.tar.gz"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid "Or:"
|
||
msgstr "或:"
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid "easy_install tools/marvin/dist/Marvin-0.1.0.tar.gz"
|
||
msgstr "easy_install tools/marvin/dist/Marvin-0.1.0.tar.gz"
|