Build TheEye Agent for Linux
- npm 3 (at least)
- zeit/pkg (npm package globally installed)
- theeye agent installed and configured (I recommend to install and run the agent before continue)
- compilation tools (depends on the distro and kernel version)
HOWTO (This doc probably is outdated. There are scripts to generate the binary & the package. This is to do it manually)
Check the last version of the compiler script in theeye-agent repo.
From theeye-agent's script root path , run the script
The script will generate the binary agent into
Then copy these node bindings for your platform. those files are generated by npm and placed within
at the moment You ran
There process will generate bindings to native addons
- (check probably new bindings will be added)
You will usually found the files in the following path (but will depends on the module)
Finally copy the
config directory within
bin. The result should be similar as shown bellow:
@facugon dice (development): ls -la bin total 29832 drwxrwxr-x 4 facugon facugon 4096 feb 10 09:14 . drwxrwxr-x 12 facugon facugon 4096 feb 10 11:38 .. -rwxrwxr-x 1 facugon facugon 43104 feb 10 09:13 binding.node drwxrwxr-x 2 facugon facugon 4096 feb 10 11:40 config drwxr-xr-x 2 facugon facugon 4096 feb 10 09:14 downloads -rwxrwxr-x 1 facugon facugon 80952 feb 10 09:14 ffi_bindings.node -rwxrwxr-- 1 facugon facugon 30401224 feb 10 09:09 theeye-agent
downloads directory is automatically generated by the agent when the scripts are downloaded.
That should be enough. Enjoy!