everscale-actions / tonos-se Goto Github PK
View Code? Open in Web Editor NEWCLI tool to install and manage Ton Node SE without Docker
Home Page: https://t.me/ton_actions_chat
License: Apache License 2.0
CLI tool to install and manage Ton Node SE without Docker
Home Page: https://t.me/ton_actions_chat
License: Apache License 2.0
Нужно заложить в логику ( на случай если по какой то причине процесса с нужным пидом уже нет) - удалять pid-файл при старте
Add --verbose(-v) parameter to show detailed log messages
Maybe there are some native approaches to use console.debug(info, warn, error etc.) in js
change build binaries process: need to add our config file to the package.
user nobody nogroup;
events {
}
http {
upstream q-server { server 127.0.0.1:5000; }
upstream ton-node { server 127.0.0.1:3000; }
server {
listen 8082 reuseport;
location /topics/requests {
proxy_http_version 1.1;
proxy_pass http://ton-node;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_read_timeout 7200;
proxy_buffering off;
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, PATCH, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'X-Requested-With, Content-Type, Authorization';
add_header 'Access-Control-Expose-Headers' 'X-Requested-With, Content-Type, Authorization';
add_header 'Access-Control-Allow-Origin' '*';
}
location /graphql {
proxy_http_version 1.1;
proxy_pass http://q-server;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_read_timeout 7200;
proxy_buffering off;
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, PATCH, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'X-Requested-With, Content-Type, Authorization';
add_header 'Access-Control-Expose-Headers' 'X-Requested-With, Content-Type, Authorization';
}
}
}
Выводить запущено или нет приложение
If the downloading process has been terminated unexpectedly(even ctrl+c) then we get broken the release archive.
We should ensure that release file hash is equaled to hash of remote release file
We should test and describe how to use 80 port as example
Каждый модуль должен иметь имя. Далее нужно переделать appPath, workingDir, pidFilePath
If we use different settings for start and stop it can lead to unexpected problems with checking ports
Try to change the stop process using send SIGTERM
MacBook-Pro:node-setup nicosha$ tonos-se start
* Starting arango.. events.js:292
throw er; // Unhandled 'error' event
^
Error: spawn /Users/nicosha/Documents/node-setup/.server/apps/arango/usr/sbin/arangod ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
at onErrorNT (internal/child_process.js:465:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
at onErrorNT (internal/child_process.js:465:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn /Users/nicosha/Documents/node-setup/.server/apps/arango/usr/sbin/arangod',
path: '/Users/nicosha/Documents/node-setup/.server/apps/arango/usr/sbin/arangod',
spawnargs: [
'--config',
'/Users/nicosha/Documents/node-setup/.server/apps/arango/config',
'--server.endpoint',
'tcp://127.0.0.1:8529',
'--server.authentication',
'false',
'--log.foreground-tty',
'true',
'--javascript.startup-directory',
'/Users/nicosha/Documents/node-setup/.server/apps/arango/usr/share/arangodb3/js',
'--javascript.app-path',
'/Users/nicosha/Documents/node-setup/.server/apps/arango/var/lib/arangodb3-apps',
'--database.directory',
'/Users/nicosha/Documents/node-setup/.server/data/arango/db'
]
}
nginx
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.