跳转到: 导航, 搜索

Solum/solum kilo 演示

视频

https://vimeo.com/126307313

搭建您自己的演示环境

您可以使用 Vagrant 在虚拟机中搭建您自己的演示环境,运行您自己的 Solum 安装,并使用 Devstack。默认情况下使用 VirtualBox 作为提供程序,因此在安装了 Vagrant 和 VirtualBox 的 Mac 或 PC 上都可以工作。该演示系统实际上可以部署应用程序,并包含一个功能齐全的 CLI。

Solum 演示 Vagrant 安装说明

1. 安装 Vagrant (http://www.vagrantup.com/downloads.html)。已测试 Vagrant v1.6.3

2. 创建一个 vagrant 仓库目录。

mkdir ~/Solum-Demo
cd ~/Solum-Demo
git clone https://github.com/rackerlabs/vagrant-solum-dev.git vagrant

3. Git 克隆 solum 和 python-solumclient 代码

cd
git clone https://github.com/stackforge/solum.git solum
git clone https://github.com/stackforge/python-solumclient.git python-solumclient

3. 设置以下环境变量。

export SOLUM_IMAGE_FORMAT=docker
export SOLUM=<path-to-the-directory-where-you-cloned-solum>
export SOLUMCLIENT=<path-to-the-directory-where-you-cloned-python-solumclient>

4. 在您的系统上创建演示环境

cd ~/Solum-Demo/vagrant
vagrant up

注意:这可能需要大约 15 到 60 分钟才能安装完成,具体取决于您的机器和网络速度。

5. 登录到 vagrant 虚拟机

 vagrant ssh

6. 现在您可以准备好使用 Solum 部署您的应用程序了。

7. 从这里开始快速入门指南:https://solum.readthedocs.org/en/latest/getting_started/index.html

8. 您可以按照创建语言包、创建应用程序、部署应用程序等步骤进行操作。