Getting-Started
-
To start working with Cesapp meet the following prerequisites:
- Install git
- Install golang >= 1.22
- Install docker
- go get -u github.com/alecthomas/gometalinter; gometalinter --install
- go get -u github.com/haya14busa/reviewdog/cmd/reviewdog
- go get -u github.com/tebeka/go2xunit
- go get -u github.com/jstemmer/go-junit-report
- go get -u github.com/kisielk/errcheck (for static-analysis make target)
-
Choose your project folder for golang projects and create the following file structure with the commands below:
mkdir -p bin pkg src/github.com/cloudogu cd src/github.com/cloudogu git clone https://github.com/cloudogu/cesapp cd cesapp
-
Install B-Tree Filesystem Libraries with the following command:
sudo apt-get install libbtrfs-dev
-
Build with the following command:
make
-
With
make package
an installable packagecesapp_XXX.deb
is created in thetarget
folder. This file can be copied into a CES instance (but not in the root folder becausevagrant up
might try to install it on the fly, causing trouble) and install it with the following command viadpkg
:dpkg -i /vagrant/container/cesapp/target/cesapp_XXX.deb