-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Gitlab Cookbook
By :
In order to have GitLab CI build your projects, you need to tell it how to build the project. In this example, we will take a look at how you can easily set up a build script. I'll use a web app build on Ruby on Rails. If you use another programming language, you have to create a different build script.
For this recipe, I'll be using the passty project made by Dmitriy Zaporozhets, the creator of GitLab. The passty project is a web-based password management tool. You can find the project on https://github.com/randx/passty. You need to import this project on your own GitLab server. The passty project is just an arbitrary example.
First, we need to make sure that all the dependencies for this project are installed.
Log in via SSH to your GitLab CI server.
Let's install SQLite:
$ wget http://www.sqlite.org/2014/sqlite-autoconf-3080600.tar.gz $ sudo tar xvfz sqlite-autoconf-3080600.tar.gz $ cd sqlite-autoconf-3080600 $ sudo ./configure --prefix=/usr...
Change the font size
Change margin width
Change background colour