Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
docs
Commits
d1c96082
Commit
d1c96082
authored
2 years ago
by
Yannick DAYER
Browse files
Options
Downloads
Patches
Plain Diff
docs [installation]: Review the development setup.
Reorganize the commands summary.
parent
ac7e1fd8
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!30
Draft: docs [installation]: Add installation/development instructions
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
instructions/development_tldr.md
+26
-4
26 additions, 4 deletions
instructions/development_tldr.md
with
26 additions
and
4 deletions
instructions/development_tldr.md
+
26
−
4
View file @
d1c96082
# Quick development setup
Here is an example of how to create a working development environment for
`bob.bio.face`
:
## First time setup
### Install idiap-devtools in base
```
sh
conda activate
mamba
install
idiap-devtools
```
### Clone and set up bob/dev-profile
_You can use any other directory instead of `~/idiap-dev-profiles`._
```
sh
git clone git@gitlab.idiap.ch/bob/dev-profile ~/idiap-dev-profiles/bob
echo
'[profiles]
default = "bob"
bob = "~/idiap-dev-profiles/bob"
'
>
~/.config/idiap-devtools.toml
```
## Create a dev environment (here for bob/bob.bio.face)
```
sh
git clone git@gitlab.idiap.ch:bob/bob.bio.face.git
devtool
env
./bob.bio.face
-o
bob_bio_face_env.yaml
cd
./bob.bio.face
devtool
env
--python
=
3.10
-o
bob_bio_face_env.yaml
.
mamba
env
create
-f
bob_bio_face_env.yaml
-n
bob_face_devel
pip
install
--no-deps
-e
./bob.bio.face
pip
install
--no-deps
-e
.
pre-commit
install
```
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