-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from PovertyAction/testbranch
test commit...approved
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
title: Virtual Environments | ||
--- | ||
|
||
We encourage the use of virtual environments when working on shared projects. Virtual | ||
environments allow you to create an isolated environment for your project, which can | ||
help prevent conflicts between different projects that may require different versions of | ||
the same package. | ||
|
||
## Python Virtual Environments | ||
|
||
We recommend using `rye` to manage Python virtual environments as it provides an | ||
overarching framework for managing Python installations and virtual environments. See | ||
information on `rye` in the [Rye documentation](https://rye.astral.sh/guide/). | ||
|
||
Another option for managing virtual environments is to use `pixi`. See information on | ||
`pixi` in the [Pixi documentation](https://pixi.sh/latest/). | ||
|
||
## R Virtual Environments | ||
|
||
R virtual environments can be created using the `renv` package. See | ||
[documentation](https://rstudio.github.io/renv/articles/renv.html) for more information | ||
about how to use `renv`. | ||
|
||
## Docker | ||
|
||
[Docker](https://docs.docker.com/get-started/overview/) is a tool that allows you to | ||
create, deploy, and run applications using containers. In some instances, it may be more | ||
appropriate to use Docker containers to manage your project environment, especially when | ||
there is a project environment that needs to be deployed to cloud computing services. | ||
|
||
## Learning Resources | ||
|
||
- [A Complete Guide to Python Virtual Environments](https://www.dataquest.io/blog/a-complete-guide-to-python-virtual-environments/) | ||
- [Real Python, Python Virtual Environments](https://realpython.com/python-virtual-environments-a-primer/) | ||
- [Python Virtual Environments](https://docs.python.org/3/tutorial/venv.html) | ||
- [R Virtual Environments](https://rstudio.github.io/renv/articles/renv.html) |