Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kl-lausestaja
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
keeleliin
kl-lausestaja
Commits
e92f1058
Commit
e92f1058
authored
Mar 15, 2017
by
Indrek Jentson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lisatud command.sh ja selle kasutamine.
parent
ddb5dc0a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
Dockerfile
Dockerfile
+2
-0
command.sh
command.sh
+1
-0
config_dist.js
config_dist.js
+2
-2
No files found.
Dockerfile
View file @
e92f1058
...
...
@@ -45,6 +45,8 @@ echo "NPM is installed"
RUN
cd
/wrapper
&&
\
git clone
'https://gitlab.keeleressursid.ee/keeleliin/kl-wc.git'
&&
\
cp
kl-wc/config_dist.js .
cp kl-wc/command.sh .
chmod +x command.sh
# Tarkvara X paigaldamine lõppeb
...
...
command.sh
0 → 100755
View file @
e92f1058
cat
$1
|
wc
-m
-l
-w
-L
config_dist.js
View file @
e92f1058
...
...
@@ -72,7 +72,7 @@ config.wrapper = { //teenuse seadistus
description
:
'
Koostab etteantud tekstile vastava statistika
'
,
//Kirjeldus
port
:
3006
,
//port
class
:
'
simpleLocalCommand
'
,
//wrapperi failinimi wrapper kaustast, mida utiliidi käivitamiseks kasutatakse
command
:
{
commandTemplate
:
'
wc -m -l -w -L
[data]
'
},
// utiliidi käsurea käsk
command
:
{
commandTemplate
:
'
./command.sh
[data]
'
},
// utiliidi käsurea käsk
requestConf
:
{
//Päringu seadistus
requestBodyParamsMappings
:
{
//Päringu post parameetrid
isAsync
:
{
//parameeter isAsync
...
...
@@ -111,4 +111,4 @@ config.wrapper = { //teenuse seadistus
sessionMaxLifetime
:
600
// sessiooni maksimaalne kestvus
};
module
.
exports
=
config
;
\ No newline at end of file
module
.
exports
=
config
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment