Awesome
boa favorites
This is from the Cyfrin Updraft Vyper Course.
Getting Started
Prerequisites
- uv
- You'll know you've done it right if you can run
uv --version
and see a version number.
- You'll know you've done it right if you can run
- git
- You'll know you've done it right if you can run
git --version
and see a version number.
- You'll know you've done it right if you can run
- anvil
- You'll know you've done it right if you can run
anvil --version
and see an output likeanvil 0.2.0 (fdd321b 2024-10-15T00:21:13.119600000Z)
- You'll know you've done it right if you can run
Optional prerequisites
If you're an advanced python user, you can use virtual environments and classic python/pip to work here.
Optional Gitpod or CodeSpaces
If you can't or don't want to run and install locally, you can work with this repo in Gitpod. If you do this, you can skip the clone this repo
part.
Installation
git clone https://github.com/cyfrin/boa-favorites-cu
cd boa-favorites-cu
uv
uv sync
pip/python
python -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt
Quickstart
1. Setup anvil node
anvil
2. In a new terminal, run the script
uv run deploy_favorites.py # uv
# or
python deploy_favorites.py # pip/python
Maintainer notes
If you're a student, ignore this section!
Build a new requirements.txt
uv pip compile pyproject.toml -o requirements.txt