Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
csbase-dev
sgarest-daemon
Commits
389eb592
Commit
389eb592
authored
6 years ago
by
Felipe Pina
Browse files
Options
Download
Patches
Plain Diff
Updating the README.md
+ New install lnstructions + Updated Docker section
parent
1149fd9b
master
centos-6.7
maia/4208/FixInvalidPropTestInCiCd
maia/9022/SgaCygwinInstall
maia/9564/DisableKubernetesDeploy
newfeature/SOMA-3699_IdentificarVersaoSGA
newfeature/SOMA-4444_AddSgaToK8s
sgarest-websintesi-backlog-historia-soma-1306
1.7.9
1.7.8
1.7.7
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.1
1.6.0
1.5.1
1.5.0
1.4.1-WS-centos6.7
1.4.1-WS
1.4.0
1.4.0-WS
1.3.1-WS
v_1.3.1-WS
v_1.3.0
v_1.3.0-WS
v_1.2.2
v_1.2.1
v_1.2.0
v_1.1.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+23
-11
README.md
with
23 additions
and
11 deletions
+23
-11
README.md
+
23
−
11
View file @
389eb592
...
...
@@ -38,27 +38,39 @@ following to your `sgad.cfg`:
To use
`sga-exec`
when writing your own driver, the rule of thumb is to
avoid Lua's standard
`io.*`
and
`os.*`
routines.
## Install
Install Luarocks 2.4.2 then run the following commands
```
shell
luarocks
install
lua-schema-scm-1.rockspec
luarocks make sga-daemon-scm-1.rockspec
luarocks make sga-driver-posix-scm-1.rockspec
```
## Docker
### Build
```
shell
docker build
.
-t
csbase/sgarest-daemon:1.
0.2
--build-arg
SGAREST_VERSION
=
1.
0.2
docker build
.
-t
csbase/sgarest-daemon:1.
1.1
--build-arg
SGAREST_VERSION
=
1.
1.1
```
### Run
```
shell
docker run
--rm
\
-p
40100:40100
\
-v
/home/sgad/logs/sga:/sgad/logs
\
-v
/home/sgad/projects:/sgad/projects
\
-v
/home/sgad/algorithms:/sgad/algorithms
\
-e
CSBASE_SERVER
=
"http://csgrid:40500"
\
-e
SGAD_HOST
=
"sgad40100"
\
-e
SGAD_PORT
=
"40100"
\
-e
SGAD_NAME
=
"40100"
\
sgarest-daemon:1.0.2
docker run
--rm
\
-p
40100:40100
\
-v
/home/sgad/logs/sga:/sgad/logs
\
-v
/home/sgad/projects:/sgad/projects
\
-v
/home/sgad/algorithms:/sgad/algorithms
\
-e
CSBASE_SERVER
=
"http://csgrid:40500"
\
-e
SGAD_HOST
=
"sgad40100"
\
-e
SGAD_PORT
=
"40100"
\
-e
SGAD_NAME
=
"40100"
\
--network
host
\
csbase/sgarest-daemon:1.0.2
```
## Credits
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets