Create a Workspace and Clone a Repository¶
Table of Contents
Prerequisites¶
Docker installed
fuzeapp installed (aliased to
fuze
in examples).
Create Workspace¶
Go to WebUI
Choose “work locally” menu.
Choose “Create Workspace.ini”
Add your SSH key location and where to put the FTL:
Note
The FTL location must already exist
Click “download”
You now have a valid workspace.ini file
$ cat workspace.ini [general] fullname=My Name [email protected] [git] protocol="SSH" keyfile=/home/<name>/.ssh/id_rsa username= password= [output] format=csv [build] workspace=/home/<name>/tmp/ftl
Note
The
[general]
section comes from your credentials automatically
Create a Workspace and Clone therepo¶
Move your workspace.ini to the root of the directory you wish to be your workspace
Move to that directory
Execute the
--create-workspace <repo>:<branch>
command (assume we’re cloning master branch of therepo)$ alias fuze='~/bin/fuzeapp_lnx' $ cd ~/work $ ls workspace.ini $ fuze --create-workspace therepo:master $ ls fuze.out workspace.ini therepo/ $ fuze --build-map therepo/build/mybuildmap.json --target release --add-packages $ cd therepo $ git status On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean