Skip to content

つらい目の疲れ、肩、首すじのこり、腰の痛みに

License

Notifications You must be signed in to change notification settings

s-aska/Justaway-Ex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

つらい目の疲れ、肩、首すじのこり、腰の痛みに

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published