Justaway-Ex

module
v0.0.0-...-c2e183a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2016 License: MIT

README

Justaway Ex

Justaway Extension API Server

Install

web
cd web
export JUSTAWAY_EX_CONSUMER_KEY=''
export JUSTAWAY_EX_CONSUMER_SECRET=''
export JUSTAWAY_EX_DB_SOURCE='justaway@tcp(192.168.0.10:3306)/justaway'
export JUSTAWAY_EX_CALLBACK='http://127.0.0.1:8002/signin/callback'
go run main.go
crawler
cd crawler
export JUSTAWAY_EX_CONSUMER_KEY=''
export JUSTAWAY_EX_CONSUMER_SECRET=''
export JUSTAWAY_EX_DB_SOURCE='justaway@tcp(192.168.0.10:3306)/justaway'
export JUSTAWAY_EX_CRAWLER_ID='1'
go run *.go

mysql -h 192.168.0.10 -u justaway justaway
> INSERT INTO crawler(url, created_at, updated_at) VALUES('http://127.0.0.1:8001/', UNIX_TIMESTAMP(NOW()), UNIX_TIMESTAMP(NOW()));
worker
cd worker
export JUSTAWAY_EX_DB_SOURCE='justaway@tcp(192.168.0.10:3306)/justaway'
export JUSTAWAY_APNS_PEM_PATH='/../apns.pem'
go run main.go
apns test
cd sandbox
export JUSTAWAY_APNS_PEM_PATH='/../apns.pem'

go run apns2_sandbox.go [device_token]

Directories

Path Synopsis
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL