Tip
Make sure that these extensions are installed in VS Code:
- Python
- Jupyter
- Quarto
- Clone the Inflation Explorer repository into VS Code.
- Create a virtual environment:
Terminal
python3 -m venv env
- Activate the virtual environment:
Terminal
source env/bin/activate
- Install the required packages from the requirements file:
Terminal
pip install -r requirements.txt
- Create a
.env
file:
Terminal
touch .env
- Put your environment variables in the
.env
file:
.env
BLS_KEY="key here"
CONNECT_SERVER="key here"
CONNECT_API_KEY="key here"
rsconnect add \
--server https://pub.demo.posit.team/ \
--name Demo
--api-key "gcySZCbkV1wB9qfwRreGrYy8DMhIYzkC"
The rsconnect-python
package provides a CLI for interacting with and deploying to Posit Connec.t The rsconnect deploy command deploys the content to posit Connect.