Commands are operating system-specific.
These commands are for Windows users.
On Mac/Linux, generally use python3
instead of py
.
Edit your README.md to reflect the commands that work on your machine.
- Open project folder in VS Code.
- Open a new terminal - on Windows, ensure the terminal type is PowerShell (not the old cmd)
- Run the following commands in the terminal one at a time to verify installations.
py --version
git --version
git config user.name
git config user.email
Run the following commands in the terminal to set up a project virtual environment and install the necessary packages. Run them from the root project folder (e.g. pyshiny-penguins-dashboard-express). Use PowerShell on Windows or the terminal on macOS and Linux.
Create a project virtual environment in the .venv folder of the project root directory.
py -m venv .venv
shiny run --reload --launch-browser penguins/app.py
shiny static-assets remove shinylive export penguins docs
py -m http.server --directory docs --bind localhost 8008