The FAQ maintained by Github covers most stumbling blocks, some other tips and tricks supplied here.
Add _site to .gitignore. The generated site should not be uploaded to Github since its gets generated by github.
| diff --git a/lib/albino.rb b/lib/albino.rb | |
| index 387c8e9..b77d55e 100644 | |
| --- a/lib/albino.rb | |
| +++ b/lib/albino.rb | |
| @@ -1,4 +1,5 @@ | |
| require 'posix-spawn' | |
| +require 'rbconfig' | |
| ## | |
| # Wrapper for the Pygments command line tool, pygmentize. |
| git clone https://github.com/tigefa4u/tigefa4u.github.io.git | |
| cd tigefa4u.github.io | |
| jekyll serve |
The FAQ maintained by Github covers most stumbling blocks, some other tips and tricks supplied here.
Add _site to .gitignore. The generated site should not be uploaded to Github since its gets generated by github.
| desc 'Generate tags page' | |
| task :tags do | |
| puts "Generating tags..." | |
| require 'rubygems' | |
| require 'jekyll' | |
| include Jekyll::Filters | |
| options = Jekyll.configuration({}) | |
| site = Jekyll::Site.new(options) | |
| site.read_posts('') |
| #!/bin/bash | |
| ## Versão do OS 13.04 Server 64 Bits | |
| ## Disco de 30GB e 2GB de RAM | |
| ## Instalação limpa só com ssh e vi | |
| ## Vamos instalar com Mysql e Webserver Nginx | |
| ## Nesse Screencast não vou cobrir a instalação do Ubuntu pois é muito simples | |
| ## Versão que vai ser instalada é a 6.1 estavel do Gitlab | |
| ## Passo a passo de Instalação está nesse link | |
| ## https://github.com/gitlabhq/gitlabhq/blob/6-1-stable/doc/install/installation.md | |
| { | |
| "name": "gitonomy/gitonomy", | |
| "description": "Git repositories inside your infrastructure", | |
| "license": "MIT", | |
| "authors": [ | |
| { | |
| "name": "Alexandre Salomé", | |
| "email": "alexandre.salome@gmail.com", | |
| "homepage": "http://alexandre-salome.fr" | |
| }, |
| parameters: | |
| # Database | |
| database_driver: pdo_mysql | |
| database_host: 127.12.17.130 | |
| database_port: 3306 | |
| database_name: gitonomy | |
| database_user: adminAfeyCHB | |
| database_password: W3dKXiieM8Im | |
| # Security |
| <?php | |
| /** | |
| * @file | |
| * Drupal site-specific configuration file. | |
| * | |
| * IMPORTANT NOTE: | |
| * This file may have been set to read-only by the Drupal installation program. | |
| * If you make changes to this file, be sure to protect it again after making | |
| * your modifications. Failure to remove write permissions to this file is a |
| <?php | |
| /** | |
| * The base configurations of the WordPress. | |
| * | |
| * This file has the following configurations: MySQL settings, Table Prefix, | |
| * Secret Keys, WordPress Language, and ABSPATH. You can find more information | |
| * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing | |
| * wp-config.php} Codex page. You can get the MySQL settings from your web host. | |
| * | |
| * This file is used by the wp-config.php creation script during the |
| # Default setup is given for MySQL with ruby1.8. If you're running Redmine | |
| # with MySQL and ruby1.9, replace the adapter name with `mysql2`. | |
| # Examples for PostgreSQL and SQLite3 can be found at the end. | |
| # rename database.yml | |
| production: | |
| adapter: mysql2 | |
| database: <%= ENV['OPENSHIFT_APP_NAME'] %> | |
| host: <%= ENV['OPENSHIFT_MYSQL_DB_HOST'] %> | |
| username: <%= ENV['OPENSHIFT_MYSQL_DB_USERNAME'] %> |