Installation
Getting the code. Note that you can skip the source folders below if you will not be developing.
1. Install GitHub desktop located at https://desktop.github.com/ and associate your account with it. Check you can see the repos. The addresses are as in the shell script below
2. install git. I don't think GitHub desktop installs the handy command line tool git bash, https://git-scm.com/download/win
3. make the directories from the command line. This is quicker using the script below. Name it MakeGEECSfolders.sh and run it in git bash using
./MakeGEECSfolders.sh
Note the script below should change to using the md command rather than the mkdir command since it creates multiple folders at once
Here is the script
cd c:\
mkdir "c:\GEECS"
mkdir "c:\GEECS\Developers Version"
mkdir "c:\GEECS\Developers Version\source"
mkdir "c:\GEECS\Developers Version\source\Bella center GUIs"
mkdir "c:\GEECS\Developers Version\source\Device Drivers"
mkdir "c:\GEECS\Developers Version\source\General GUIs"
mkdir "c:\GEECS\Developers Version\source\Shared"
mkdir "c:\GEECS\Developers Version\source\Support"
mkdir "c:\GEECS\Developers Version\source\GEECS-Plugins"
mkdir c:\GEECS\Developers Version\builds
mkdir "c:\GEECS\Developers Version\builds\Device builds"
mkdir "c:\GEECS\Developers Version\builds\Interface builds"
4. Clone the repos. make below a file with extension .sh. E.g. CloneGEECS.sh and run it in git bash using
./CloneGEECS.sh
Here is the script.
cd "C:\GEECS\Developers Version\source"
git clone https://github.com/ag6520/GEECS-BELLA-GUIs.git "Bella center GUIs"
git clone https://github.com/ag6520/GEECS-Device-Drivers.git "Device Drivers"
git clone https://github.com/ag6520/GEECS-General-GUIs.git "General GUIs"
git clone https://github.com/ag6520/GEECS-Shared.git "Shared"
git clone https://github.com/ag6520/GEECS-Support.git "Support"
git clone https://github.com/ag6520/GEECS-Plugins.git "GEECS-Plugins"
cd "C:\GEECS\Developers Version\builds"
git clone https://github.com/ag6520/GEECS-Builds-Devices.git "Device builds"
git clone https://github.com/ag6520/GEECS-Builds-GUIs.git "Interface builds"
5. Don't forget you need a user data folder inside the GEECS folder containing the file "Configurations.INI". Replace the entries with those that match your setup
[Database]
name=nameofyourdatabase
port=3306
ipaddress=databaseIP
user=yourdatabaseusername
password=yourpassword
[Logger]
Alarms=ni.var.psp://LASERBAY-DEV/Logger Master/Alarms
6. Install LabVIEW (or just the run time engine if you are only executing code)
7. Install database. At time of writing sql community download available https://dev.mysql.com/downloads/ and choose mysql installer for windows. Download the recommended installer. Contact ajgonsalves@lbl.gov for an sql dump file you can use to start your control system. Import the sql dumb file (connect to your local db, in mysql workbench data import/restore from the administration tab, then browse data in schemas tab)