Git Product home page Git Product logo

zier / line-api-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from up9cloud/line-api-server

0.0 2.0 0.0 1.91 MB

License: MIT License

PHP 36.29% Shell 0.11% ActionScript 0.89% C 5.67% C++ 14.68% Objective-C 1.18% Thrift 1.87% C# 3.43% D 7.98% Pascal 4.03% Erlang 2.17% Go 3.93% Haskell 0.76% Java 10.80% JavaScript 3.40% HTML 0.15% Lua 0.44% Makefile 0.04% Python 1.84% OCaml 0.34%

line-api-server's Introduction

line-api-server

#Development

git clone https://github.com/up9cloud/line-api-server.git

#Update dependencies

##install thrift

thrift

#debian
sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
wget 'http://mirror.reverse.net/pub/apache/thrift/0.9.1/thrift-0.9.1.tar.gz'
tar -xf thrift-0.9.1.tar.gz
cd thrift-0.9.1
./configure
make && make install

##copy thrift lib

rm -fr lib
cp -r <thrift folder>/lib/ .

##download line thrift spec file

line unofficial spec

rm -fr line-protocol
mv <line-protocol> line-protocol

##generate line thrift protocol code

thrift generate file

thrift -r --gen <language> line-protocol/line.thrift
thrift -r --gen <language> line-protocol/line_main.thrift

fix php namespace

./gen-php/fixPhpNamespace.sh

line-api-server's People

Contributors

up9cloud avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.