Coder Social home page Coder Social logo

everscale-actions / tonos-se Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 697 KB

CLI tool to install and manage Ton Node SE without Docker

Home Page: https://t.me/ton_actions_chat

License: Apache License 2.0

JavaScript 100.00%
tonos-se ton-node ton freeton

tonos-se's People

Contributors

ch1sel avatar nrukavkov avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

tonos-se's Issues

check dungeon pid files

Нужно заложить в логику ( на случай если по какой то причине процесса с нужным пидом уже нет) - удалять pid-файл при старте

Add verbose mode

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

use our own config for nginx

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';
        }
    }
}

status command

Выводить запущено или нет приложение

check release file hash

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

refactoring plan

Каждый модуль должен иметь имя. Далее нужно переделать appPath, workingDir, pidFilePath

Readme

  • Describe binaries build algorithms (using original repo)
  • Describe tests algorithms (using original repo)
  • Describe how to create a package pack and use custom version

not possible to start after reset command

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'
  ]
}

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.