From f36ada19ea98b0051b5a0b14e0124e6675ebf02c Mon Sep 17 00:00:00 2001 From: "dedal.qq" Date: Fri, 28 Sep 2018 20:59:02 +0300 Subject: [PATCH] first commit --- LICENSE | 2 +- ev.json | 10 ++++++++++ main.js | 2 ++ run.sh | 3 +++ 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 ev.json create mode 100644 main.js create mode 100644 run.sh diff --git a/LICENSE b/LICENSE index 472ac23..1ae8b41 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ MIT License -Copyright (c) +Copyright (c) 2018 Tepexoff Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/ev.json b/ev.json new file mode 100644 index 0000000..1ae7aec --- /dev/null +++ b/ev.json @@ -0,0 +1,10 @@ +{ + "build": [], + "services": [ + { + "name": "TepexoffBot", + "restart_after_update": true, + "cmd": ["./run.sh"] + } + ] +} \ No newline at end of file diff --git a/main.js b/main.js new file mode 100644 index 0000000..9816b1e --- /dev/null +++ b/main.js @@ -0,0 +1,2 @@ + +comsole.log("omg") \ No newline at end of file diff --git a/run.sh b/run.sh new file mode 100644 index 0000000..a42bb37 --- /dev/null +++ b/run.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +export NODE_PATH=$(npm root --quiet -g) && node main.js \ No newline at end of file