-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 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 |
---|---|---|
|
@@ -21,11 +21,11 @@ Lido DAO Aragon omnibus voting scripts. | |
|
||
## 🐳 Docker: quick and easy environment setup | ||
**The no-brainer workflow for setting up a Docker container to run scripts & tests** | ||
|
||
Clone the repo and build a fresh image: | ||
```shell | ||
git clone [email protected]:lidofinance/scripts.git | ||
cd scripts | ||
git checkout "feat/docker" | ||
docker build -t scripts-env . | ||
``` | ||
Set up all the ENV VARs you are using: | ||
|
@@ -47,7 +47,7 @@ ssh root@localhost -p 2222 | |
> | ||
> Use the password specified in $ROOT_PASSWORD when prompted | ||
You now have a fully functional environment to run scripts & tests in, which already contains the repo from which the image was built: | ||
You now have a fully functional environment to run scripts & tests in, which already contains the repo from which the image was built, for example: | ||
```shell | ||
poetry run brownie test tests/acceptance/test_accounting_oracle.py -s | ||
``` | ||
|