Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Amine GHOZLANE
shaman
Commits
b715cf38
Commit
b715cf38
authored
Aug 23, 2019
by
Amine GHOZLANE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update for conda
parent
c2f13b83
Pipeline
#13958
failed
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
.gitlab-ci.yml
.gitlab-ci.yml
+13
-0
www/shaman_conda.R
www/shaman_conda.R
+2
-2
No files found.
.gitlab-ci.yml
View file @
b715cf38
...
...
@@ -34,3 +34,16 @@ build_master:
-
docker push aghozlane/shaman
only
:
-
master
build_conda
:
image
:
continuumio/miniconda3:latest
stage
:
build_conda
before_script
:
-
conda config --add channels bioconda
-
conda config --add channels conda-forge
-
conda config --add channels aghozlane
-
conda config --set anaconda_upload yes
script
:
-
anaconda login --username "$DOCKER_USER" --password "$DOCKER_PASS"
-
conda-build conda_inst
\ No newline at end of file
www/shaman_conda.R
View file @
b715cf38
#!/usr/bin/Rscript --vanilla
#!/usr/bin/
env
Rscript --vanilla
prefix
=
Sys.getenv
(
x
=
"PREFIX"
)
prefix
=
paste
(
prefix
,
"bin"
,
sep
=
.Platform
$
file.sep
)
system
(
paste
(
"python "
,
prefix
,
"shaman_bioblend/shaman_bioblend.py -w "
,
prefix
,
"shamanapp/www/masque/ -s -d"
,
sep
=
.Platform
$
file.sep
))
system
(
paste
(
"Rscript -e 'library(\"shiny\");runApp(appDir="
,
prefix
,
"KronaRShy\", port=5438)'"
,
sep
=
.Platform
$
file.sep
,
wait
=
FALSE
)
system
(
paste
(
prefix
,
"Rscript -e 'library(\"shiny\");runApp(appDir="
,
prefix
,
"KronaRShy\", port=5438)'"
,
sep
=
.Platform
$
file.sep
,
wait
=
FALSE
)
runApp
(
paste
(
"appDir= "
,
prefix
,
"shamanapp"
,
sep
=
.Platform
$
file.sep
)
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