+
-
+
View the Project on GitHub dimiro1/ipe
-
-
-
+
+
+
+
+ 
+
+
IPÊ
This software is written in Go - the WYSIWYG lang
@@ -63,10 +65,11 @@
Building
-This software use the standard GOPATH structure and Godep as "dependency manager", so, install godep first.
+$ go get github.com/dimiro1/ipe
-$ go get github.com/tools/godep
-$ godep get github.com/dimiro1/ipe
+or simply
+
+$ go install github.com/dimiro1/ipe
How to configure?
@@ -74,22 +77,18 @@ $ godep get github.com/dimiro1/ipe
The server
-
{
- "Host": ":8080",
- "Expvar": true,
- "User": "Username",
- "Password": "123456",
- "Apps": [
+{
+ "Host": ":8080",
+ "Apps": [
{
- "ApplicationDisabled": false,
- "OnlySSL": false,
- "Secret": "APP_SECRET",
- "Key": "APP_KEY",
- "Name": "APP_NAME",
- "AppID": "APP_ID",
- "UserEvents": true,
- "WebHooks": true,
- "URLWebHook": "http://localhost:4567/php/hook.php"
+ "ApplicationDisabled": false,
+ "Secret": "APP_SECRET",
+ "Key": "APP_KEY",
+ "Name": "APP_NAME",
+ "AppID": "APP_ID",
+ "UserEvents": true,
+ "WebHooks": true,
+ "URLWebHook": "http://localhost:4567/php/hook.php"
}
]
}
@@ -100,11 +99,11 @@ $ godep get github.com/dimiro1/ipe
Client javascript library
-
var pusher = new Pusher(API_KEY, {
- wsHost: 'localhost',
+var pusher = new Pusher(APP_KEY, {
+ wsHost: 'localhost',
wsPort: 8080,
- enabledTransports: ["ws", "flash"],
- disabledTransports: ["flash"]
+ enabledTransports: ["ws", "flash"],
+ disabledTransports: ["flash"]
});
@@ -112,20 +111,20 @@ $ godep get github.com/dimiro1/ipe
Ruby
-
Pusher.host = 'localhost'
-Pusher.port = 8080
+
Pusher.host = 'localhost'
+Pusher.port = 8080
PHP
-
$pusher = new Pusher(APP_KEY, APP_SECRET, APP_ID, DEBUG, "http://localhost", "8080");
+
$pusher = new Pusher(APP_KEY, APP_SECRET, APP_ID, DEBUG, "http://localhost", "8080");
NodeJS
-
var pusher = new Pusher({
- appId: APP_ID,
- key: APP_KEY,
- secret: APP_SECRET
- domain: 'localhost',
+var pusher = new Pusher({
+ appId: APP_ID,
+ key: APP_KEY,
+ secret: APP_SECRET
+ domain: 'localhost',
port: 80
});
@@ -137,7 +136,7 @@ $ godep get github.com/dimiro1/ipe
for more information about logging type the following in console.
-
+
When use this software?
@@ -157,12 +156,12 @@ $
godep get github.com/dimiro1/ipe
Pusher is an excelent service, their service is very realible. I recomend for everyone.
+Pusher is an excelent service, their service is very reliable. I recomend for everyone.
Copyright 2014 Claudemiro Alves Feitosa Neto. All rights reserved.
+
Copyright 2014, 2015 Claudemiro Alves Feitosa Neto. All rights reserved.
Use of this source code is governed by a MIT-style
license that can be found in the LICENSE file.
+