mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Merge f74fef80f7
into f609e1ddaf
This commit is contained in:
commit
da5e39c11e
1 changed files with 9 additions and 0 deletions
|
@ -43,6 +43,15 @@ $ uv run main.py
|
||||||
Hello from hello-world!
|
Hello from hello-world!
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Working on an existing project
|
||||||
|
|
||||||
|
If you start working on a project that is already managed by uv, run `uv sync`. A virtual
|
||||||
|
environment will be created (if one does not already exist) and the [default](../concepts/projects/dependencies.md#default-groups) dependencies from the `uv.lock`
|
||||||
|
file will be installed.
|
||||||
|
|
||||||
|
Due to the automatic locking and synchronisation in uv, this also applies to
|
||||||
|
other commands such as `uv run` or `uv lock`. See the [locking and syncing documentation](../concepts/projects/sync.md) for details.
|
||||||
|
|
||||||
## Project structure
|
## Project structure
|
||||||
|
|
||||||
A project consists of a few important parts that work together and allow uv to manage your project.
|
A project consists of a few important parts that work together and allow uv to manage your project.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue