Skip to content
Snippets Groups Projects
Commit de86e0ce authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

Merge branch 'lh-update-docker-img' into 'develop'

maintenance fixes

See merge request R3/school/courses!179
parents d6099531 a9674a46
No related branches found
No related tags found
2 merge requests!182Regular merge of develop,!179maintenance fixes
Pipeline #78328 passed
[submodule "theme"]
path = theme
url = https://git-r3lab.uni.lu/R3/outreach/theme.git
url = https://gitlab.lcsb.uni.lu/R3/outreach/theme.git
......@@ -2,4 +2,4 @@
This repository contains all presentations related to R3.
Detailed instructions are here: https://git-r3lab.uni.lu/R3/outreach/templates/presentation
\ No newline at end of file
Detailed instructions are here: https://gitlab.lcsb.uni.lu/R3/outreach/templates/presentation
......@@ -76,12 +76,11 @@ def main(date, name):
else:
click.echo(' > Gruntfile already exists.')
os.chdir(fullPath)
# launch the presentation deck
if not os.path.exists(os.path.join(fullPath, 'node_modules')):
click.echo(' > Installing dependencies ... ')
os.system('yarn add -g grunt-cli generator-reveal')
os.system('yarn')
os.system('yarn add grunt generator-reveal')
click.echo(' > All dependencies installed.')
else:
click.echo(' > All dependencies already installed.')
......
#!/bin/bash
# set the variables
dockerImg="git-r3lab.uni.lu:4567/r3/docker/nodejs-yarn-grunt"
dockerImg="gitlab.lcsb.uni.lu:4567/r3/docker/nodejs-yarn-grunt"
dockerPort="9000"
helpFunction()
......@@ -31,5 +31,4 @@ fi
# launch the docker file
cmd="python contribute.py --date=\"$parameterDate\" --name=\"$parameterName\""
docker run -p $dockerPort:$dockerPort --user $(id -u):$(id -g) -it -v $(pwd)/:/presentation $dockerImg /bin/bash -c "$cmd"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment