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

Compare with Current View Page History

Version 1 Next »

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 proper directory structure:

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

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

> getTemplateForDirectory INTROOT $INTROOT

Check the contents:

#If not present, install tree. Password for sudo command is 2Garch1ng
> sudo yum -y install tree
> tree -L 1 $INTROOT
/home/almamgr/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



  • No labels