From 1c469680c681033037a1a0bd21c3d9c845cecdc5 Mon Sep 17 00:00:00 2001 From: Remi Planel <rplanel@pasteur.fr> Date: Tue, 31 Dec 2019 12:08:05 +0100 Subject: [PATCH] Add doc to clone repo --- README.md | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index a40e33b..0a6acf8 100644 --- a/README.md +++ b/README.md @@ -167,10 +167,16 @@ CATGAATGGTATAAACCGGCGTGCC 680 -0.8043242669169294 CP027060.1 ## Contributing +### Clone repo + +```console +$ git clone https://gitlab.pasteur.fr/dbikard/crisprbact.git +``` + ### Create a virtualenv ```console -$ virtualenv -p pyton3.7 .venv +$ virtualenv -p python3.7 .venv $ . .venv/bin/activate $ pip install poetry ``` @@ -183,18 +189,8 @@ $ poetry install ### Install hooks -```console -$ pre-commit install -``` - - -<!-- -### Change hooks - +In order to run flake8 and black for each commit. ```console -$ git config --unset-all core.hooksPath $ pre-commit install -$ cp .git/hooks/pre-commit .hooks/pre-commit -$ git config core.hooksPath .hooks/ -``` --> +``` -- GitLab