Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
443 commits
Select commit Hold shift + click to select a range
bea8467
images by Regis
rg3915 May 14, 2014
e2071f9
Alterando pagina BeautifulSoup
linuxsoares May 14, 2014
0eadcbf
Alterando pagina BeautifulSoup
linuxsoares May 14, 2014
392dce4
Merge pull request #67 from linuxsoares/pelican
igr-santos May 14, 2014
4bbc505
Merge pull request #68 from rg3915/pelican
igr-santos May 14, 2014
a14dcfe
arrumando quebra de links
rg3915 May 14, 2014
11cc53a
arrumando links em 30 seg
rg3915 May 14, 2014
ade9afd
Tudo testado e corrigido
rg3915 May 14, 2014
7647d42
Merge pull request #69 from rg3915/pelican
igr-santos May 14, 2014
cb875d5
testando share facebook vazio
igr-santos May 14, 2014
ff72e18
adiciona about sobre o projeto
igr-santos May 14, 2014
b4eba31
testando share facebook vazio
igr-santos May 14, 2014
f9a6ad6
Merge branch 'pelican' of github.com:igr-santos/pythonclub.github.io …
igr-santos May 14, 2014
b65a7e0
Merge pull request #66 from igr-santos/pelican
igr-santos May 14, 2014
d0ec0c2
theme/templates/article.html
igr-santos May 14, 2014
dd963a2
Merge pull request #70 from igr-santos/pelican
igr-santos May 14, 2014
edfc6ea
Update base.html
luzfcb May 14, 2014
d22b3f5
add {% block bottom_js %}{% endblock %}
luzfcb May 14, 2014
e174ffa
modificado head_js para bottom_js
luzfcb May 14, 2014
11818c8
Adicionando Tutorial python/django no windows
thiagocoroa May 14, 2014
ff17b80
Merge pull request #71 from macabroaff/pelican
luzfcb May 14, 2014
755b534
renomeado artigo.rst para instalando_configurando_python_django_no_wi…
luzfcb May 14, 2014
61c8155
pequena correção no artigo - Thiago Corôa
luzfcb May 14, 2014
d057239
conserto em backslashs que deviam estar escapando
macndesign May 14, 2014
c8f11ea
correções em no artigo Thiago Corôa
luzfcb May 14, 2014
55e3ae4
Merge pull request #72 from macndesign/pelican
luzfcb May 14, 2014
0685561
Update instalando_configurando_python_django_no_windows.rst
luzfcb May 14, 2014
01fd7c1
Update README.md
dvl May 14, 2014
0d8c693
Update .gitignore
dvl May 14, 2014
5609095
Update editando_admin_django.rst
sipmann May 15, 2014
ea4569d
Merge remote-tracking branch 'upstream/pelican' into pelican
May 15, 2014
d5b2a4b
Adicionado fontes e atualizado o artigo
May 15, 2014
dec7d21
Ajuste no texto e remoção dos fontes
sipmann May 15, 2014
ffffab9
Update editando_admin_django.rst
sipmann May 15, 2014
3397ac0
Removendo arquivo
sipmann May 15, 2014
b950fcf
adiciona logomarca otimizada
igr-santos May 16, 2014
665ce6d
Merge pull request #79 from igr-santos/pelican
igr-santos May 16, 2014
dbd0aac
Update editando_admin_django.rst
sipmann May 16, 2014
4e1fc2b
Merge pull request #78 from sipmann/pelican
igr-santos May 16, 2014
587ce7d
Novo link para Thiago Corôa
rg3915 May 16, 2014
9205b3e
reverse_lazy e unipath
rg3915 May 16, 2014
722e6d5
Merge pull request #80 from rg3915/pelican
igr-santos May 16, 2014
9cbc4ad
corrigindo link para reverse_lazy
rg3915 May 16, 2014
e20bc59
Merge pull request #81 from rg3915/pelican
igr-santos May 16, 2014
9ba2818
Guia rápido de comandos SQLite3.
rg3915 May 16, 2014
316d1f7
Update instalando_configurando_python_django_no_windows.rst
thiagocoroa May 16, 2014
564b826
Merge pull request #83 from macabroaff/patch-1
luzfcb May 16, 2014
8621649
Merge pull request #82 from rg3915/pelican
luzfcb May 16, 2014
548f969
Update instalando_configurando_python_django_no_windows.rst
luzfcb May 16, 2014
03f36dc
Update instalando_configurando_python_django_no_windows.rst
luzfcb May 16, 2014
160b089
Update README.md
luzfcb May 16, 2014
f3e7bf8
melhoria no script google analytics
luzfcb May 19, 2014
9c4eaa2
google analytics dentro de head
luzfcb May 19, 2014
1bdfdc0
Imagem do resultado final adicionada
sipmann May 19, 2014
6fc1c0b
Merge branch 'pelican' of https://github.com/sipmann/pythonclub.githu…
sipmann May 19, 2014
41ddf17
Separado os textos
sipmann May 19, 2014
0015f40
Merge pull request #84 from sipmann/pelican
luzfcb May 19, 2014
77f49d4
Added What The Flask 1/6 level 1.1
rochacbruno May 19, 2014
4f1012b
Fixes and Level 1.2 added
rochacbruno May 22, 2014
a14b461
Merge remote-tracking branch 'upstream/pelican' into pelican
May 22, 2014
16e9945
Publicação: Selenium Serie
May 22, 2014
f9e1144
Merge pull request #85 from LucasMagnum/pelican
igr-santos May 22, 2014
8fc96a7
Merge https://github.com/pythonclub/pythonclub.github.io into pelican
rochacbruno May 22, 2014
e1338bf
level 1.2 views e roteamento
rochacbruno May 23, 2014
0e2c672
Fix #86 added blockquote style
rochacbruno May 23, 2014
9bc8880
Atualizado README.md [ci skip]
luzfcb May 23, 2014
ba2f1e3
Atualizado README.md [ci skip]
luzfcb May 23, 2014
f83ac18
Merge https://github.com/pythonclub/pythonclub.github.io into pelican
rochacbruno May 23, 2014
4b66e0b
Fix #86 - added css style for code tag
rochacbruno May 23, 2014
a876a0a
Atualizado exemplo.md [ci skyip]
luzfcb May 23, 2014
5468a54
Atualizado exemplo_com_tags_...md [ci skyip]
luzfcb May 23, 2014
6ab6314
Atualizado exemplo_com_tag_...rst [ci skyip]
luzfcb May 23, 2014
c10ab71
adicionado imagem 'fork' [skip ci]
luzfcb May 24, 2014
35f2d59
Atualizado README.md [skip ci]
luzfcb May 24, 2014
c67ff30
Atualizado README.md [skip ci]
luzfcb May 24, 2014
4a378c8
modifica deploy.sh para limpar ramo master, evitando assim arquivos e…
luzfcb May 24, 2014
7103171
modificado deploy.sh
luzfcb May 24, 2014
59931bb
otimizado imagens com https://kraken.io
luzfcb May 24, 2014
ec20ba0
Merge https://github.com/pythonclub/pythonclub.github.io into pelican
rochacbruno May 26, 2014
b3242e3
level 1.2
rochacbruno May 26, 2014
d98f7ee
Views chapter
rochacbruno May 27, 2014
04a789b
Modificado o nome Sobre para Quem Somos
luzfcb May 27, 2014
a74a34e
Merge https://github.com/pythonclub/pythonclub.github.io into pelican
rochacbruno May 27, 2014
e4e40bc
anchors + 2 chapters
rochacbruno May 27, 2014
3c5f87e
some fixes
rochacbruno May 27, 2014
37bff3c
Added database chapter
rochacbruno May 29, 2014
0c74864
Update what_the_flask_introducao_ao_desenvolvimento_web_com_python.md
rochacbruno May 29, 2014
e31a780
Servindo arquivos estáticos e upload
rochacbruno May 30, 2014
631c230
fix title
rochacbruno May 30, 2014
f13c981
minor
rochacbruno May 30, 2014
d1a0ceb
start template part
rochacbruno May 30, 2014
01dd16f
style fixes
rochacbruno May 30, 2014
9aa4ca3
Finished :metal:
rochacbruno May 31, 2014
137ef2e
Fix publish date :calendar:
rochacbruno May 31, 2014
20049d4
Merge pull request #89 from rochacbruno/pelican
luzfcb May 31, 2014
c5f1344
facebook shared, google+ shared
igr-santos May 31, 2014
76395ef
remove class nao utilizada
igr-santos May 31, 2014
cc33e01
Merge pull request #90 from igr-santos/shared
igr-santos May 31, 2014
390da3b
facebook shared, google+ shared
igr-santos May 31, 2014
68771a5
remove class nao utilizada
igr-santos May 31, 2014
7145d78
corrigido palavra "curso"
luzfcb Jun 2, 2014
b430d40
Publicação Selenium parte 3
Jun 2, 2014
4c0eb53
Selenium - Parte 3 correções.
Jun 2, 2014
5e78337
Merge pull request #92 from LucasMagnum/pelican
luzfcb Jun 2, 2014
c217b9f
Merge branch 'pelican' of github.com:pythonclub/pythonclub.github.io …
igr-santos Jun 2, 2014
0cfe011
adiciona google search ao site
igr-santos Jun 3, 2014
5af41a3
remove css desnecessario
igr-santos Jun 3, 2014
15f445b
Merge pull request #93 from igr-santos/pelican
igr-santos Jun 3, 2014
bfca066
adiciona configuracao de path ao publish
igr-santos Jun 3, 2014
1acacba
Merge pull request #94 from igr-santos/pelican
igr-santos Jun 3, 2014
a05b7b8
corrige botao do google search
igr-santos Jun 3, 2014
4a55750
Merge pull request #95 from igr-santos/pelican
igr-santos Jun 3, 2014
f51a76b
Texto sobre ensinar e aprender Python e minhas aulas.
InFog Jun 4, 2014
a1c1889
Merge pull request #96 from InFog/pelican
luzfcb Jun 5, 2014
69d9504
criado arquivo contributing.md
luzfcb Jun 5, 2014
9ea9756
Update contributing.md
luzfcb Jun 5, 2014
0d82ad5
Update contributing.md
luzfcb Jun 5, 2014
cab8587
Publicação: Usando Redis como cache e session do Django.
Jun 6, 2014
0fce00e
Publicação: Usando Redis como cache e session do Django.
Jun 6, 2014
eec2a75
Merge pull request #97 from LucasMagnum/pelican
dvl Jun 6, 2014
8e21b34
autoincrement
rg3915 Jun 7, 2014
451d7e2
requirements opcional
rg3915 Jun 7, 2014
042b784
Merge pull request #98 from rg3915/pelican
luzfcb Jun 7, 2014
6b9f9fc
Introdução a Classes e Métodos em Python (básico)
rg3915 Jun 8, 2014
7c03b2d
Delete
rg3915 Jun 9, 2014
21e6482
mode column
rg3915 Jun 9, 2014
2955a52
ajustes em guia rapido sqlite3
rg3915 Jun 9, 2014
8b8d563
Merge pull request #100 from rg3915/pelican
dvl Jun 9, 2014
505ecdd
adicionado esqueleto de artigo sobre pyftpdlib
luzfcb Jun 11, 2014
96281f3
previa 1
luzfcb Jun 11, 2014
df3fab8
previa 2
luzfcb Jun 11, 2014
afd7d3c
Merge pull request #101 from luzfcb/pelican
luzfcb Jun 11, 2014
cf92c1e
previa 3
luzfcb Jun 11, 2014
cacf101
Revert "previa 3"
luzfcb Jun 12, 2014
40f3c97
previa 3
luzfcb Jun 12, 2014
04cb8de
Merge pull request #102 from luzfcb/pelican
luzfcb Jun 12, 2014
b745fbf
Backup no SQLite.
rg3915 Jun 12, 2014
cdfde9e
Merge pull request #103 from rg3915/pelican
luzfcb Jun 12, 2014
d8b0ae9
finalizando o texto sobre backup
rg3915 Jun 12, 2014
b5ed74e
Agora sim eu finalizei.
rg3915 Jun 12, 2014
dfa5726
Merge pull request #104 from rg3915/pelican
luzfcb Jun 12, 2014
e30f0b7
WTF part2 - Lets drink that Flask
rochacbruno Jun 12, 2014
561eeda
small fixes
rochacbruno Jun 13, 2014
5043922
added DENIED screencast link
rochacbruno Jun 13, 2014
07d69b0
introducao a classes e metodos
rg3915 Jun 13, 2014
8ee6989
atualizando a data da introducao a classes e metodos
rg3915 Jun 13, 2014
39fa5ea
Merge pull request #105 from rg3915/pelican
luzfcb Jun 13, 2014
22d20a8
adicionado hashtag no titulo do site
luzfcb Jun 13, 2014
df358b8
artigo corrigido segundo PEP 8
rg3915 Jun 14, 2014
9eb2f7e
Merge pull request #109 from rg3915/pelican
dvl Jun 16, 2014
e54fc6a
implementado issue #91
luzfcb Jun 16, 2014
ca39c43
Merge pull request #110 from luzfcb/pelican
luzfcb Jun 16, 2014
519e666
Gerenciando bd SQLite3 Python Parte 1
rg3915 Jun 17, 2014
a2f6823
ajustes
rg3915 Jun 17, 2014
07b1665
Merge pull request #111 from rg3915/pelican
igr-santos Jun 17, 2014
4923579
adicionado site e twitter do Eric Hideki
luzfcb Jun 17, 2014
688e049
Merge https://github.com/pythonclub/pythonclub.github.io into what_th…
rochacbruno Jun 17, 2014
0e0ad98
start part1
rochacbruno Jun 18, 2014
8475092
adicionado imagens badget 'Publique via Github'
luzfcb Jun 18, 2014
18b7475
adicionado arquivos PSD originais da badget
luzfcb Jun 18, 2014
0d41976
Merge pull request #112 from luzfcb/pelican
luzfcb Jun 18, 2014
1ad552a
adicionado badget em solução ao issue #87
luzfcb Jun 18, 2014
ab34042
corrigido codificacao incorreta
luzfcb Jun 18, 2014
3fff649
Merge pull request #113 from luzfcb/pelican
luzfcb Jun 18, 2014
c216373
adicionado opcao de badget em vermelho
luzfcb Jun 18, 2014
eac1112
Merge pull request #115 from luzfcb/pelican
luzfcb Jun 18, 2014
9f1321e
badget agora é vermelho.
luzfcb Jun 18, 2014
ca7f58e
Blueprints
rochacbruno Jun 19, 2014
0188b08
ap factories
rochacbruno Jun 19, 2014
e503a7d
Merge https://github.com/pythonclub/pythonclub.github.io into what_th…
rochacbruno Jun 19, 2014
b5d54d3
Almost done
rochacbruno Jun 19, 2014
c2009a5
Yeah its done! :smiley:
rochacbruno Jun 20, 2014
79736b8
a better ending
rochacbruno Jun 20, 2014
cb79fe7
fix github branch
rochacbruno Jun 20, 2014
1098f90
PUBLISH!
rochacbruno Jun 20, 2014
34c851a
Merge pull request #117 from rochacbruno/what_the_flask_pt2
dvl Jun 20, 2014
20ca575
corrigido link para o primeira parte
luzfcb Jun 20, 2014
4f7f8f0
incluído link para a segunda parte da serie
luzfcb Jun 20, 2014
beb343b
test fix issue #118
luzfcb Jun 20, 2014
069c1a5
test2 fix issue #118
luzfcb Jun 20, 2014
9cdca24
pequenas correções
luzfcb Jun 20, 2014
09612a3
Update introducao-classes-metodos-python-basico.rst
luzfcb Jun 20, 2014
08b7a21
final fix issue #118
luzfcb Jun 20, 2014
b1b7ddd
Update introducao-classes-metodos-python-basico.rst
luzfcb Jun 20, 2014
144d887
Update
jairojair Jun 22, 2014
45e8137
Merge pull request #119 from jairojair/patch-1
dvl Jun 22, 2014
6f6f91a
Relacionando tabelas
rg3915 Jun 22, 2014
72975f3
mostrando o prompt do virtualenv
rg3915 Jun 22, 2014
f9c1215
Merge pull request #120 from rg3915/pelican
luzfcb Jun 23, 2014
17380b1
incluido link p/ nova doc sobre markdown [skip cl]
luzfcb Jun 25, 2014
6ea6d65
Post: Selenium Pt 4
Jun 26, 2014
69d5d52
adiciona badget PythonBrasil2014, corrige tamanho google search
igr-santos Jun 28, 2014
55ff0e7
Merge pull request #122 from igr-santos/pelican
igr-santos Jun 28, 2014
c6a8be7
o correto eh return self.nome no model
rg3915 Jun 29, 2014
13c10cf
Merge pull request #123 from rg3915/pelican
luzfcb Jun 29, 2014
2dbb7f3
remove tag publique na visualizacao mobile
igr-santos Jul 1, 2014
d859274
Merge pull request #124 from igr-santos/pelican
igr-santos Jul 1, 2014
304ca9a
arquivo nao tinha sido alterado
igr-santos Jul 1, 2014
2b6a256
Merge pull request #125 from igr-santos/pelican
igr-santos Jul 1, 2014
b25dc56
Merge remote-tracking branch 'upstream/pelican' into pelican
Jul 3, 2014
2b91427
Update Selenium
Jul 10, 2014
d1df62f
Selenium parte 4: Expected conditions finalizada
Jul 17, 2014
b1e4d86
configurando servidor para aplicacoes python
igr-santos Jul 24, 2014
1176c6c
Merge pull request #127 from igr-santos/pelican
igr-santos Jul 24, 2014
fb2fd34
Tentativa de correção da renderização do artigo
luzfcb Jul 24, 2014
c93ca71
Selenium: Parte IV - Action Chains
Jul 24, 2014
c78b0b1
limitado versao do pelican para 3.3.0
luzfcb Jul 24, 2014
6dfe306
resolve problema com code block
igr-santos Jul 24, 2014
c767c7e
Update configurando-um-servidor-de-producao-para-aplicacoes-python.md
luzfcb Jul 24, 2014
ee2d8cc
Update configurando-um-servidor-de-producao-para-aplicacoes-python.md
luzfcb Jul 24, 2014
696625c
Merge pull request #129 from igr-santos/pelican
igr-santos Jul 24, 2014
f1de2b2
Merge remote-tracking branch 'upstream/pelican' into pelican
Jul 28, 2014
647bb52
Selenium Parte 4: EventListener
Jul 28, 2014
f95acc1
Selenium: Atualizado index parte I
Jul 28, 2014
38a1194
Selenium: Atualizado index parte I
Jul 28, 2014
d759f42
Merge pull request #130 from LucasMagnum/pelican
igr-santos Jul 28, 2014
160eedc
pequena modificação no Titulo
luzfcb Jul 28, 2014
fe023fc
adicionado robots.txt
luzfcb Aug 4, 2014
5698fc9
Corrigido pelicanconf.py, movido content/robots.txt para content/extr…
luzfcb Aug 4, 2014
3df9a1c
corrige artigo e adiciona relevancia a titulos
igr-santos Aug 12, 2014
2d9ee37
Merge pull request #132 from igr-santos/pelican
igr-santos Aug 12, 2014
9dd5f3d
ativado geração de Feed RSS e ATOM por autor
luzfcb Aug 12, 2014
97ab69a
Update publishconf.py
luzfcb Aug 12, 2014
52b7e99
Adiciona tutorial Pelican
arthur-alves Aug 21, 2014
eabb01f
Update requirements.txt
luzfcb Aug 22, 2014
d0b6e70
Update pelicanconf.py
luzfcb Aug 22, 2014
59bb74b
Altera plugins modules test
arthur-alves Aug 22, 2014
ea17f1b
Testando com pelican== 3.4
arthur-alves Aug 22, 2014
7fab410
Alterado conforme warning:
arthur-alves Aug 22, 2014
f01f972
retorna original gitmodules
arthur-alves Aug 22, 2014
81d9809
Update requirements.txt
arthur-alves Aug 22, 2014
5db7ac7
removido submodulo plugins para correcao
luzfcb Aug 23, 2014
c0d12d3
forcado plugins obter do ramo master
luzfcb Aug 23, 2014
7587e96
another fix on gitsubmodule
luzfcb Aug 28, 2014
05f9a0b
Merge branch 'pelican' of https://github.com/arthur-alves/pythonclub.…
luzfcb Aug 28, 2014
7340844
corrigido data artigo arthur e removido acento no slug do titulo
luzfcb Aug 28, 2014
47a297c
Merge branch 'arthur-alves-pelican' into pelican
luzfcb Aug 28, 2014
78ab5d7
criado tutorial deploy django no openshift
Sep 5, 2014
375241e
correção ortografia
Sep 5, 2014
e9910bf
Merge pull request #135 from eliostvs/pelican
luzfcb Sep 5, 2014
b14fa66
Publica texto "Gerenciando assets com django-pipeline"
raphapassini Sep 18, 2014
b63fd78
Merge pull request #139 from raphapassini/pelican
luzfcb Sep 19, 2014
12f7acc
adicionado configuração feed all rss
luzfcb Sep 26, 2014
40b06fe
adicionado script transifex live
luzfcb Oct 8, 2014
39b5ebd
adicionado template logomarca pythonclub em svg
luzfcb Oct 18, 2014
03f36c0
Algumas letras corrigidas
Nov 7, 2014
4d36213
Merge pull request #144 from matheus/patch-1
igr-santos Nov 7, 2014
e0a40a0
Chagava para chegava
Nov 7, 2014
65715f8
Merge pull request #145 from matheus/patch-2
luzfcb Nov 7, 2014
ac223c5
adicionado tag para Google para webmasters
luzfcb Nov 7, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Python
__pycache__/
*.py[cod]

# pelican
output/
*.pid

# OS
Thumbs.db
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "pelican-plugins"]
path = pelican-plugins
url = https://github.com/getpelican/pelican-plugins.git
branch = master
Empty file added .nojekyll
Empty file.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
branches:
only:
- pelican
language: python
python:
- 2.7
install:
- pip install -r requirements.txt --use-mirrors
script:
- make publish
notifications:
email:
on_success: never
on_failure: never
env:
global:
- secure: fjtVZfyJ7SOg1Glo3T6zYyyzf3OcBiIKY3Lx2abwNt3jIrZalTAc/T2EpeRF+0cLp4NAhHGxylD/pQahWYAw30+SBD5wghd9iBpbJmTxyWHaM9zdLHiU5M3fuSeRwRdIVSG46tLv5wulCIBDubw/b32Ewc4VfEqHtjIahBuGvr4=
before_install:
- git submodule update --init --recursive
after_success: bash deploy.sh
108 changes: 108 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
PY=python
PELICAN=pelican
PELICANOPTS=

BASEDIR=$(CURDIR)
INPUTDIR=$(BASEDIR)/content
OUTPUTDIR=$(BASEDIR)/output
CONFFILE=$(BASEDIR)/pelicanconf.py
PUBLISHCONF=$(BASEDIR)/publishconf.py

FTP_HOST=localhost
FTP_USER=anonymous
FTP_TARGET_DIR=/

SSH_HOST=localhost
SSH_PORT=22
SSH_USER=root
SSH_TARGET_DIR=/var/www

S3_BUCKET=my_s3_bucket

CLOUDFILES_USERNAME=my_rackspace_username
CLOUDFILES_API_KEY=my_rackspace_api_key
CLOUDFILES_CONTAINER=my_cloudfiles_container

DROPBOX_DIR=~/Dropbox/Public/

DEBUG ?= 0
ifeq ($(DEBUG), 1)
PELICANOPTS += -D
endif

help:
@echo 'Makefile for a pelican Web site '
@echo ' '
@echo 'Usage: '
@echo ' make html (re)generate the web site '
@echo ' make clean remove the generated files '
@echo ' make regenerate regenerate files upon modification '
@echo ' make publish generate using production settings '
@echo ' make serve [PORT=8000] serve site at http://localhost:8000'
@echo ' make devserver [PORT=8000] start/restart develop_server.sh '
@echo ' make stopserver stop local server '
@echo ' make ssh_upload upload the web site via SSH '
@echo ' make rsync_upload upload the web site via rsync+ssh '
@echo ' make dropbox_upload upload the web site via Dropbox '
@echo ' make ftp_upload upload the web site via FTP '
@echo ' make s3_upload upload the web site via S3 '
@echo ' make cf_upload upload the web site via Cloud Files'
@echo ' make github upload the web site via gh-pages '
@echo ' '
@echo 'Set the DEBUG variable to 1 to enable debugging, e.g. make DEBUG=1 html'
@echo ' '

html:
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)

clean:
[ ! -d $(OUTPUTDIR) ] || rm -rf $(OUTPUTDIR)

regenerate:
$(PELICAN) -r $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)

serve:
ifdef PORT
cd $(OUTPUTDIR) && $(PY) -m pelican.server $(PORT)
else
cd $(OUTPUTDIR) && $(PY) -m pelican.server
endif

devserver:
ifdef PORT
$(BASEDIR)/develop_server.sh restart $(PORT)
else
$(BASEDIR)/develop_server.sh restart
endif

stopserver:
kill -9 `cat pelican.pid`
kill -9 `cat srv.pid`
@echo 'Stopped Pelican and SimpleHTTPServer processes running in background.'

publish:
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS)

ssh_upload: publish
scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)

rsync_upload: publish
rsync -e "ssh -p $(SSH_PORT)" -P -rvz --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude

dropbox_upload: publish
cp -r $(OUTPUTDIR)/* $(DROPBOX_DIR)

ftp_upload: publish
lftp ftp://$(FTP_USER)@$(FTP_HOST) -e "mirror -R $(OUTPUTDIR) $(FTP_TARGET_DIR) ; quit"

s3_upload: publish
s3cmd sync $(OUTPUTDIR)/ s3://$(S3_BUCKET) --acl-public --delete-removed

cf_upload: publish
cd $(OUTPUTDIR) && swift -v -A https://auth.api.rackspacecloud.com/v1.0 -U $(CLOUDFILES_USERNAME) -K $(CLOUDFILES_API_KEY) upload -c $(CLOUDFILES_CONTAINER) .

github: publish
ghp-import $(OUTPUTDIR)
git push origin gh-pages

.PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload cf_upload github
110 changes: 108 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,110 @@
pythonclub.github.io
====================
[pythonclub.com.br][0]
======================

Blog colaborativo sobre tecnologias que envolvam a linguagem Python


Como Contribuir
---------------

* Faça um fork desse repositório, clicando no botão [![Fork][14]][15], na parte superior direita da pagina do Github
* Clone seu fork:

``git clone --recursive https://github.com/SEU_USUARIO_DO_GITHUB/pythonclub.github.io.git``

* Instale os requirements ``pip install -r requirements.txt``
* Todas as publicações ficam na pasta ``content``, os textos podem ser escritos
no formato **[Markdown][4]** ou **[reStructuredText][5]**, fique a vontade
para usar o que você sentir mais afinidade, veja alguns **[exemplos][6]**.
* Após criar ou editar seu artigo faça um pull-request para que ele seja
adicionado ao site.
* Caso tenha dificuldades para escrever Markdown ou reStructuredText, veja esses editores online que auxiliam sua escrita:
* [StackEdit][8]
* [Dillinger][9]
* [Prose][10]

Não entendeu nada? Veja o video que explica o processo de fork, clone, push e pull-request : http://pythonclub.com.br/como-fazer-fork-clone-push-pull-request-no-github.html


Sincronizando seu fork
----------------------

Caso você já tenha feito fork a algum tempo você tem duas opções para garantir que
estará trabalhando com as ultimas alterações, que pode ser simplesmente deletar
seu fork e fazer um novo ou sincronizar seu fork com o repositório de origem
usando as [instruções contidas na wiki][11]



Informações Técnicas
--------------------

O site pythonclub.com.br está sendo hospedado usando o **[Github Pages][1]**.

O **[Github Pages][1]** hospeda arquivos HTML sem qualquer tipo de custo, bastando
que exista um repositório chamado ``seu-usuario.github.io``
(Perceba que deve ser incluido o ``.github.io``).
Os arquivos HTML devem ser incluidos no branch ``master`` para que o Github automaticamente
publique aqueles arquivos HTML na web no endereço: ``http://seu-usuario.github.io``


Para gerar os arquivos HTML, e visando a facilidade de escrever textos utilizando
a linguagem de marcação [Markdown][11] e [reStructuredText][12],
utilizamos o **[Pelican][2]**, que é um projeto feito em Python.

Como a branch ``master`` é usada internamente pelo Github para servir os
arquivos HTML, criamos uma branch chamado ``pelican`` para armazenar os arquivos
de configuração e as publicação em seu "estado-bruto".

Essa branch está definida
como padrão para o repositório e você possivelmente não precisará se preocupar
com isso.


Visualizando sua publicação antes de enviar
-------------------------------------------

O **Pelican** conta com algumas facilidades que permitem que você teste o site
localmente na medida que você vai escrevendo o texto e antes de enviar para o
servidor, inclusive vem com um script para facilitar isso.

Para utilizar o script para iniciar basta
executar o comando:

``./develop_server.sh start``

Então basta visitar o endereço [http://localhost:8000/][3]

Para finalizar o servidor use:

``./develop_server.sh stop``

Futuras Publicações
-------------------

Alguns dos contribuidores criaram o compromisso de publicar alguns artigos.

Foi estabelecido um prazo maximo para a entrega dos artigos com o intuito de que o contribuidor realmente publique o artigo com o conteudo que ele mesmo definiu.

Você pode ver a lista contendo os nomes dos artigos nesta planilha no [Google Drive][7].

Quando tiver um assunto e uma data de entrega, adicione na planinha, ao finalizar o seu artigo, envie o pull request e atualize a planilha marcando que sua publicação já foi entregue.


[0]: http://pythonclub.com.br/
[1]: https://pages.github.com/
[2]: http://docs.getpelican.com/en/3.3.0/
[3]: http://localhost:8000/
[4]: https://guides.github.com/features/mastering-markdown/
[5]: http://docutils.sourceforge.net/docs/user/rst/quickref.html
[6]: https://github.com/pythonclub/pythonclub.github.io/tree/pelican/exemplos
[7]: https://docs.google.com/spreadsheets/d/1sddA5pa5LcssPvibBYOHUujyfRpmL1zKw_-MSn784Tg/edit#gid=0
[8]: https://stackedit-beta.herokuapp.com/
[9]: http://dillinger.io/
[10]: http://prose.io/
[11]: https://github.com/pythonclub/pythonclub.github.io/wiki/Sincronizando-seu-fork-com-o-reposit%C3%B3rio-principal
[12]: http://br-mac.org/2013/09/o-que-e-markdown.html
[13]: http://pt.wikipedia.org/wiki/Restructuredtext
[14]: https://github.com/pythonclub/pythonclub.github.io/raw/pelican/content/images/pythonclub_geral/fork_git_hub0_o.png
[15]: https://github.com/pythonclub/pythonclub.github.io/fork
[16]: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
Loading