Structure

June 3, 2016

Upon downloading Spacedecode desktop client, a directory called SpaceD will be created on your home folder. We refer to this as Workspace, this is where everything you create is stored.

SpaceD

The Worspace is organised in a hierarchical tree structure. The first folder you will get when you access SpaceD is a user folder, namespace folder in our case. After creating a project on Spacedecode (If you created it online, make sure you have pulled it to your local) Spacedecode will create a project folder - inside this folder you will find auto generated README.md and a project.yml file. The project file contains information about the project and the README contains project description.

project file

If you have created vessels you will also find vessel folders inside the project folder along with the rootfs folder.

vessel

Vessel folders contain vessel.yml file, which is a configuration file that allows you change the way a vessel behaves. This is how it looks:

id: Project_ID
name: wp
project: namespace/helloworld
recipe: official/wordpress
created: 2016-06-14T23:33:15.031101201+02:00
runtime:
  auto_start: false
  privileged: false
ignore_recipe_processes: true
processes:
- main: true
  entrypoint: /entrypoint.sh
  cmd: apache2
  env: HOME=/root/;PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin;TERM=xterm;ALLOW_OVERRIDE=**False**;WORDPRESS_DB_HOST=127.0.0.1:3306;WORDPRESS_DB_USER=root;WORDPRESS_DB_PASSWORD="";WORDPRESS_VERSION=4.5.2;WORDPRESS_SHA1=bab94003a5d2285f6ae76407e7b1bbb75382c36e
  cwd: ""
ignore_recipe_volumes: false
maintainer:
  name: namespace
  email: namespace@spacedecode.com
spacedecode:
  version: 0.1.2
  go_version: go1.6.1
  os: linux
  arch: amd64


comments powered by Disqus