Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instruções de Jekyll no README.md #26

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
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
33 changes: 32 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,35 @@ Este é o repositório do site da OpenStreetMap Brasil, uma associação de mape

## Como ajudar?

O site é feito em Jekyll. Para rodar localmente, clone o repositório e rode `jekyll serve --watch`.
O site é feito em Jekyll. Para testá-lo localmente, clone o repositório, rode o comando `jekyll serve --watch`, e então acesse [localhost:4000](http://localhost:4000).

Caso precise instalar o Jekyll, siga as instruções para o seu sistema operacional (abaixo).

### Jekyll em Arch Linux

1) Instalar
```sh
$ sudo pacman -S ruby
$ sudo pacman -S nodejs
$ sudo gem install jekyll
$ sudo gem update github-pages
```

2) Configurar no final do arquivo `~/.bashrc`:
```sh
$ alias jekyll='~/.gem/ruby/2.2.0/bin/jekyll'
```

3) Carregar a nova configuração:
```sh
$ source ~/.bashrc
```

### Jekyll em Ubuntu

1) Instalar
```sh
$ sudo apt-get install ruby ruby-dev make gcc nodejs
$ sudo gem install jekyll --no-rdoc --no-ri
$ sudo gem install github-pages --no-rdoc --no-ri
```