You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALL.rst
+8-17Lines changed: 8 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,24 +24,15 @@ First, create your working directory and ``cd`` into it. Clone the project into
24
24
25
25
$ git clone https://github.com/rero/sonar.git
26
26
27
-
You need to install `poetry`, it will handle the virtual environment creation for the project
28
-
in order to sandbox our Python environment, as well as manage the dependency installation,
29
-
among other things.
30
-
31
-
.. code-block:: console
32
-
33
-
$ pyenv install 3.9.9
34
-
$ cd sonar
35
-
$ pyenv local 3.9.9
36
-
$ pip install poetry
27
+
You need to `install uv <https://docs.astral.sh/uv/getting-started/installation/>`, it will handle the versions of Python and the virtual environment creation for the project in order to sandbox our Python environment, as well as manage the dependency installation, among other things.
37
28
38
29
Next, ``cd`` into the project directory and bootstrap the instance (this will install
39
30
all Python dependencies and build all static assets):
40
31
41
32
.. code-block:: console
42
33
43
34
$ cd sonar
44
-
$ poetry run ./scripts/bootstrap
35
+
$ uv run ./scripts/bootstrap
45
36
46
37
Start all dependent services using docker-compose (this will start PostgreSQL,
0 commit comments