Giter Site home page Giter Site logo

ptrender's People

Contributors

velmyshanovnyi avatar

Forkers

nik-sharky

ptrender's Issues

шлях до файлів Бек/Фронт/Аут передавати як змінні з ярлика

ідея в тому щоб прописувати власне параметри з якиз саме папок брати, і в яку треба папку викладати вже готові файли.

наприклад АУТ може бути на одному диску,
а ВИХІДНІ ФАЙЛИ можуть бути на SD карточках, і ми до них конектимось по ЮСБ

яклик для CMD

створити такий яклик для CMD, щоб не було привЯзки до розташування ПРОДАКШН скрипта (щоб він міг лежати в папці з Гіт розробки і автоматом апдейтитись при змінах)

ERROR

Describe the bug
A clear and concise description of what the bug is.
при запуску скрипта

To Reproduce
Steps to reproduce the behavior:

  1. запускаю СМД
  2. вставляю node Z:\ptrender\render.js
  3. вилітає цей еррур
C:\Users\velmy>node Z:\ptrender\render.js
Read config template batch.pts.tpl
fs.js:126
    throw err;
    ^

Error: ENOENT: no such file or directory, open 'batch.pts.tpl'
    at Object.openSync (fs.js:447:3)
    at Object.readFileSync (fs.js:349:35)
    at init (Z:\ptrender\render.js:99:19)
    at Object.<anonymous> (Z:\ptrender\render.js:104:1)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:643:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:839:10)
    at internal/main/run_main_module.js:17:11 {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'batch.pts.tpl'
}

C:\Users\velmy>

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

параметризація задач

наприклад:
true|false|path
де
true=так
false=ні
path=так+шляхКуди


якщо процес завершився позитивно (все зробило правильно і валідно)

-copyBackAfterOk=false|path
-moveBackAfterOk=false|path
-deleteBackAfterOk=false|true

-copyFrontAfterOk=false|path
-moveFrontAfterOk=false|path
-deleteFrontAfterOk=false|true

якщо процес завершився не правильно (щось не змогло зробити, чи зробило не так, чи зробило щось але не пройшло валідацію)

-copyBackAfterFail=false|path
-moveBackAfterFail=false|path
-deleteBackAfterFail=false|true

-copyFrontAfterFail=false|path
-moveFrontAfterFail=false|path
-deleteFrontAfterFail=false|true

коли під час/після обробки виникла помилка (будь-яка)

-copyBackAfterError=false|path
-moveBackAfterError=false|path
-deleteBackAfterError=false|true

-copyFrontAfterError=false|path
-moveFrontAfterError=false|path
-deleteFrontAfterError=false|true

за будь-яких умов після обробки, чим би не закінчилось

-copyBackAfterError=false|path
-moveBackAfterError=false|path
-deleteBackAfterError=false|true

-copyFrontAfter=false|path
-moveFrontAfter=false|path
-deleteFrontAfter=false|true

означає, що після опрацювання пари (bak+front) файлів, над ними буде проведена дія яка вказана в параметрі...

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.