I do run Gitlab on OpenBSD stable, so I'm still with 8.1, as further
need go 1.5 and it's not there. Also I use PostgreSQL as DB.

There are a few things that you need to do:

* git home user directory in /var/www/git, as web server is chrooted
* git user needs bash as shell
* in the bundle operation in the --without statement add always
as it won't compile if it's there.
* comment out shell_path from the init script
* put the correct path of the shell for scripts bin/web and
bin/background_jobs

If you have experience with web servers and so on you should be able to
configure the rest.

Regards,

Stefan Kempf <sisnk...@gmail.com> writes:

> Predrag Punosevac wrote:
>> Hi Misc,
>> 
>> A question for Ruby gurus among OpenBSD users. Is it possible to run
>> GitLab on OpenBSD? I see some reports of people running GitLab on
>> FreeBSD
>
> Not a ruby guru, but yes it can be done in principle. However, I just
> gave it a quick try and don't use it in production though.
>
> You'll have to do the manual setup though. These are the instructions I
> used:
>
> https://gitlab.com/gitlab-org/gitlab-ce/blob/8-1-stable/doc/install/installation.md
>
> All required packages should be in ports. For sidekiq, you might this
> fix: 
> https://github.com/mperham/sidekiq/commit/a6ea55d16fb0060b8ee0a322bede1951cff51fba
>
> And you may need to tweak the syntax in the gitlab
> lib/support/init.d/gitlab/gitlab shellscript (and the scripts is calls)
> or change it to use bash.
>
>> https://github.com/gitlabhq/gitlab-recipes/blob/master/install/freebsd/freebsd-10.md
>> 
>> 
>> Best,
>> Predrag

-- 
Oriol Demaria
0x58415679

Reply via email to