You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Introduction

This confluence page is a summary of what is expected at this point. On day 3 we will have 30 minutes to catch up and then we will follow to the next steps of the development of our fist component!

Summary

Preparing your environment

The first steps you would need to do is to checkout the repository to a convenient location. As an example, we will use ~/Repos directory:

> mkdir -p ~/Repos
> cd ~/Repos

We retrieve the repository

> git clone https://bitbucket.alma.cl/scm/acsws/awv.git

We make sure we have an INTROOT:

> echo $INTROOT

If this is empty, please make sure you it is defined and pointing to something useful. For instance ~/introot:

> export INTROOT=~/introot

Check that this directory exists and has the right directory structure:

> file $INTROOT
/home/almamgr/introot: directory

If the file doesn't exist, create the directory structure:

> getTemplateForDirectory INTROOT $INTROOT

Check the contents:

> ls -1 $INTROOT
ALARMS
app-defaults
bin
bitmaps
CDT
config
ERRORS
idl
include
lib
LOGS
man
responsible
rtai
sounds
Sources
templates
vw

Now, make sure this INTROOT variable gets automatically loaded to your environment, by adding it to your .bashrc

~/.bashrc
...
#End of original content

export INTROOT=~/introot
source /alma/ACS-2020JUN/ACSSW/config/.acs/.bash_profile.acs

This is to ensure, the libraries, executables and other files installed to the INTROOT are available for compilation and runtime.

Prepare your module


  • No labels