Skip to content

Commit

Permalink
incluido plugin social login PHPSP#19
Browse files Browse the repository at this point in the history
  • Loading branch information
royopa committed Oct 31, 2014
1 parent b9fb737 commit 45f980c
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 3 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

### Instalação

#### Produção
#### Produção

Com o WordPress instalado baixe o [tema na versão mais recente](https://github.com/PHPSP/phpsp-blog-theme/releases) e instale pelo gerenciador de temas do WordPress.

Expand Down Expand Up @@ -63,6 +63,21 @@ O Painel Administrativo poderá ser acessado em http://blog.phpsp.dev.
* [Disqus Comment System](https://wordpress.org/plugins/disqus-comment-system/)
* [Crayon Syntax Highlighter](https://wordpress.org/plugins/crayon-syntax-highlighter/)
* [Event Organiser](http://wordpress.org/plugins/event-organiser/)
* [Social Login](https://wordpress.org/plugins/oa-social-login/)

### Configurando o Social Login

1. Crie uma conta no site [OneAll](https://app.oneall.com/signin/)
2. Adicione um novo Site e guarde as infromações Subdomain, Public Key e Private Key.
![Alt text](/oneall-api-credentials.png?raw=true "Informações OneAll")
3. Configure o Plugin na aba **Social Login** do Wordpress (Seção API Settings),
com as informações acima.
![Alt text](/oneall-wp-api-settings.png?raw=true "Configuração Social Plugin")
4. Habilite o plugin para usar o GitHub como identity provider.
5. Registre a aplicação no GitHub (Developer applications) para usar GitHub API com
a conta do OneAll criada no passo 2.
register-app-github.png
![Alt text](/register-app-github.png?raw=true "Registro app GitHub")

### Bugs

Expand All @@ -77,4 +92,3 @@ Você também pode [abrir um Pull Request](https://github.com/PHPSP/phpsp-blog-t
### Licença

![Licença Creative Commons](http://i.creativecommons.org/l/by-nc-nd/3.0/88x31.png)

17 changes: 16 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.2.0-dev" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project name="phpsp"
default="main"
basedir="."
Expand Down Expand Up @@ -37,11 +37,26 @@
command="curl http://downloads.wordpress.org/plugin/event-organiser.latest-stable.zip -o '${plugindir}event-organiser.latest-stable.zip'" />
<unzip file="${plugindir}event-organiser.latest-stable.zip" todir="${plugindir}" />

<exec
escape="false"
passthru="true"
checkreturn="true"
command="curl https://downloads.wordpress.org/plugin/oa-social-login.4.6.zip -o '${plugindir}oa-social-login.4.6.zip'" />
<unzip file="${plugindir}oa-social-login.4.6.zip" todir="${plugindir}" />

<exec
escape="false"
passthru="true"
checkreturn="true"
command="curl https://downloads.wordpress.org/plugin/oa-social-login.4.6.zip -o '${plugindir}oa-social-login.4.6.zip'" />
<unzip file="${plugindir}oa-social-login.4.6.zip" todir="${plugindir}"></unzip>

<fileset dir="${plugindir}" id="deleteFiles">
<include name="wp-no-category-base.zip" />
<include name="disqus-comment-system.2.77.zip" />
<include name="crayon-syntax-highlighter.zip" />
<include name="event-organiser.latest-stable.zip" />
<include name="oa-social-login.4.6.zip" />
</fileset>

<delete>
Expand Down
Binary file added oneall-api-credentials.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added oneall-wp-api-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added register-app-github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 45f980c

Please sign in to comment.