0.0.27 • Published 8 years ago

generator-teonet v0.0.27

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
8 years ago

Teonet server native C/C++ application generator NPM version

Yeoman generator to create new Teonet server native C/C++ application. The Teonet Server application can execute under Linux or Mac OS only. This readme file shows terminal commands for Debian, Ubuntu or Linux Mint.

Dependences

*To install global npm components without sudo change node modules folders ownership:

sudo chown -R $USER /usr/local/lib/node_modules

Install the Yeoman:

npm install -g yo

Install teonet library

Ubuntu

http://repo.ksproject.org/ubuntu/

Add repository

Add repository key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8CC88F3BE7D6113C

Add repository:

sudo apt-get install -y software-properties-common
sudo add-apt-repository "deb http://repo.ksproject.org/ubuntu/ teonet main"

or add the following line to your /etc/apt/sources.list:

deb http://repo.ksproject.org/ubuntu/ teonet main

Update repositories database:

sudo apt-get update

Install library

sudo apt-get install -y libteonet-dev

Check installation

teovpn -?

Install this generator

npm install -g generator-teonet

Generate new Teonet application

yo teonet

Compile your application

./autogen.sh
make

Run your application

src/APPNAME teo-APPNAME

Developer Notes

Some Teonet documentation

Teonet developer documentation:
http://repo.ksproject.org/docs/teonet/

Teonet events:
http://repo.ksproject.org/docs/teonet/ev__mgr_8h.html#ad7b9bff24cb809ad64c305b3ec3a21fe

Publish project to NPM

If you haven't already set your NPM author info, now you should:

npm set init.author.name "Your Name"
npm set init.author.email "you@example.com"
npm set init.author.url "http://yourblog.com"

npm adduser

Publish project to NPM:

npm publish ./

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

Apache-2.0 © Kirill Scherba

0.0.27

8 years ago

0.0.26

8 years ago

0.0.25

8 years ago

0.0.24

8 years ago

0.0.23

8 years ago

0.0.22

8 years ago

0.0.21

8 years ago

0.0.20

8 years ago

0.0.19

8 years ago

0.0.18

8 years ago

0.0.17

10 years ago

0.0.16

10 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago