Skip to content

Instantly share code, notes, and snippets.

View samayo's full-sized avatar
💬
drink more water

Samson Daniel samayo

💬
drink more water
View GitHub Profile
@rriemann
rriemann / INSTALL.md
Last active December 10, 2017 17:12
Howto install Gitlab on top of opensuse 12.3 32bit

Please read everything before starting!

Install OS

  • Download OpenSUSE 12.3 32bit, Network edition http://download.opensuse.org/distribution/12.3/iso/openSUSE-12.3-NET-i586.iso
  • I chose 32bit, because Ruby Binary Extensions might have problems with lib64 path structure. We workaround this bug.
  • I chose networkinstall, because we need only very few packages and don't need to download everything. only 200MB are downloaded during install
  • the image can easily copied to a usb pen drive using the gui tool "imagewriter" (executed as root)
  • Partition: There are 2 big hard drives. I created on both of them first a primary pratition of 1GB of type LINUX-RAID
server {
listen 80;
server_name example.com dev.example.com;
root /var/www/sites/public/dev.example/;
index index.html index.htm index.php;
access_log /var/log/nginx/example.com_access.log;
error_log /var/log/nginx/example.com_error.log;
charset utf-8;
<?php
### USAGE
#Require the autoload in your bootstrap, and use the Application to start your app
require __DIR__ . '/../Autoload.php';
$app = new Fastpress\Application;
$app->get('/hello/{:name}', function($name) use ($app){