Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VM ansible playbooks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DISCO Beamline
VM ansible playbooks
Commits
794a76c7
Commit
794a76c7
authored
Jan 12, 2021
by
hugo chauvet
Browse files
Options
Downloads
Patches
Plain Diff
Add napari playbook
parent
896d0b30
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
napari.yml
+52
-0
52 additions, 0 deletions
napari.yml
with
52 additions
and
0 deletions
napari.yml
0 → 100644
+
52
−
0
View file @
794a76c7
# Ansible playbook to install Napari from Anaconda
---
-
name
:
install napari from Conda
hosts
:
localhost
tasks
:
-
name
:
Download miniconda3-latest from repo.anaconda.com/miniconda
get_url
:
url
:
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
dest
:
~/Téléchargements/
checksum
:
md5:122c8c9beb51e124ab32a0fa6426c656
mode
:
u+x
-
name
:
Install miniconda3
shell
:
cmd
:
./Miniconda3-latest-Linux-x86_64.sh -b
chdir
:
~/Téléchargements/
executable
:
/bin/bash
creates
:
~/miniconda3
-
name
:
Define miniconda as default système python système
shell
:
cmd
:
./conda init bash
chdir
:
~/miniconda3/bin
-
name
:
Create Napari environnement napari-env
shell
:
cmd
:
conda create -n napari-env -y python=3.7
executable
:
/bin/bash
creates
:
~/miniconda3/envs/napari-env
-
name
:
install Napari from conda-forge
shell
:
cmd
:
source ~/miniconda3/bin/activate napari-env && conda install -c conda-forge napari -y
executable
:
/bin/bash
creates
:
~/miniconda3/envs/napari-env/bin/napari
-
name
:
Create napari launcher on desktop
copy
:
dest
:
~/Bureau/Napari.desktop
content
:
|
[Desktop Entry]
Version=1.0
Type=Application
Name=Napari
Comment=
Exec=/home/guest/miniconda3/envs/napari-env/bin/napari
Icon=
Path=
Terminal=false
StartupNotify=false
mode
:
u+x
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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