Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6a3efbf

Browse files
committed
actualización de configuración y post antiguo
1 parent 795152d commit 6a3efbf

File tree

4 files changed

+60
-7
lines changed

4 files changed

+60
-7
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
name: Your New Jekyll Site
1+
name: Roberto Arce Echanes
22
pygments: true

_layouts/default.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
66
<title>{{ page.title }}</title>
77
<meta name="viewport" content="width=device-width">
8+
<meta name="google-site-verification" content="52uBy4jMOMlnLumY8rOLWfDI3xsuvvzCSKRGHXuPFIA" />
89

910
<!-- syntax highlighting CSS -->
1011
<link rel="stylesheet" href="/css/syntax.css">
@@ -27,15 +28,14 @@ <h1 class="title"><a href="/">{{ site.name }}</a></h1>
2728
<div class="footer">
2829
<div class="contact">
2930
<p>
30-
Your Name<br />
31-
What You Are<br />
32-
31+
Roberto Arce<br />
32+
3333
</p>
3434
</div>
3535
<div class="contact">
3636
<p>
37-
<a href="http://github.com/yourusername/">github.com/yourusername</a><br />
38-
<a href="http://twitter.com/yourusername/">twitter.com/yourusername</a><br />
37+
<a href="http://github.com/rarce/">github.com/rarce</a><br />
38+
<a href="http://twitter.com/rarce/">twitter.com/rarce</a><br />
3939
</p>
4040
</div>
4141
</div>
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
layout: post
3+
title: "Instalación de Octopress en Github"
4+
date: 2012-06-09 14:11
5+
comments: true
6+
categories:
7+
- blog
8+
- jekyll
9+
- configuracion
10+
---
11+
12+
El primer post se dedicara a como montar un blog [octopress](http://octopress.org/) en [github](https://github.com/),
13+
octopress permite gestionar un sitio [Jekill](http://jekyllrb.com/) mediante rake.
14+
15+
Para poder instalar se debe tener ruby 1.9.2, yo realicé la instalación utilizando 1.9.3 instalado mediante [RVM](https://rvm.io/).
16+
El primer paso es clonar el repositorio de octopress e instalar las dependencias mediante Bundler
17+
18+
{% highlight bash %}
19+
git clone git://github.com/imathis/octopress.git octopress
20+
cd octopress
21+
bundle install
22+
{% endhighlight %}
23+
24+
Luego se instala el tema por defecto
25+
{% highlight bash %}
26+
rake install
27+
{% endhighlight %}
28+
29+
Luego creamos el repositorio en github que almacenará las páginas y configuraciones del sitio por ejemplo `rarce.github.com` ,
30+
una vez creado el repositorio ejecutamos el script de configuración, que nos preguntara por la dirección del repositorio, en
31+
este ejemplo `[email protected]:rarce/rarce.github.com.git`
32+
33+
{% highlight bash %}
34+
rake setup_github_pages
35+
{% endhighlight %}
36+
37+
Esto cambiara el repositorio remoto de octopress desde origin a octopress, agregara el repositorio creado como el repositorio
38+
remoto por defecto. Cambiará la rama activa de master a source y configurará una rama master para el directorio `_deploy`.
39+
40+
Luego se puede ejecutar el script para generar el sitio en jekyll y pushear la rama `master` a github
41+
42+
{% highlight bash %}
43+
rake gen_deploy
44+
{% endhighlight %}
45+
46+
Para subir el código, se debe hacer commit y push a la rama `source`
47+
48+
{% highlight bash %}
49+
git add .
50+
git commit -m 'your message'
51+
git push origin source
52+
{% endhighlight %}
53+
No newline at end of file

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: default
3-
title: Your New Jekyll Site
3+
title: Roberto Arce Echanes
44
---
55

66
<div id="home">

0 commit comments

Comments
 (0)