Skip to content
Norbert Wagner edited this page Feb 25, 2021 · 1 revision

Godemon usage


Godemon commands:

  1. -init - initializing godemon project
  2. -name= - passing name parameter to project
  3. -cnf= - type of method - could be - deploy, cnf, cmd
  4. -os= - passing the os parameter to project
  5. -arch= - passing the architecture parameter to project
  6. -command= - passing the command parameter to project
  7. -modOrFile= - passing the modOrFile parameter to project - module or single file
  8. -path= - passing the path parameter to project
  9. -help

What's project.json?

{
   "name": "test2",
   "arch": "amd64",
   "os": "linux",
   "dev-vars": [
      {
         "key": "PORT",
         "value": "8800"
      }
   ],
   "commands": [
      {
         "name": "run",
         "file": "mod"
      }
   ]
}

name - name of project

arch - project architecture

os - project os

dev-vars - array of os variables:

  1. Key - name of variable
  2. Value - value of variable

commands - array of commands:

  1. Name - name of command
  2. file - single file or mod
Clone this wiki locally