mirror of
https://github.com/PR0M3TH3AN/python_charts.git
synced 2026-11-06 13:50:39 +00:00
Merge pull request #38 from PR0M3TH3AN/codex/update-quickstart-for-venv-and-dependencies
Update Quickstart instructions
This commit is contained in:
1 file changed
+4
-9
@@ -26,22 +26,17 @@ This initial chart is a self‐contained toolkit that:
|
|||||||
git clone https://github.com/your-org/python_charts.git
|
git clone https://github.com/your-org/python_charts.git
|
||||||
cd python_charts
|
cd python_charts
|
||||||
|
|
||||||
# Activate your virtual environment
|
# Create and activate your virtual environment
|
||||||
|
python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
# Install dependencies
|
|
||||||
pip install -r requirements.txt
|
|
||||||
# Plot the lagged UNRATE vs. Oil chart
|
# Plot the lagged UNRATE vs. Oil chart
|
||||||
./startup.sh lagged_oil_unrate --offset 12 --end 2025-05-31 --extend-years 5
|
./startup.sh lagged_oil_unrate --offset 12 --end 2025-05-31 --extend-years 5
|
||||||
````
|
```
|
||||||
|
|
||||||
This will:
|
This will:
|
||||||
|
|
||||||
1. Upgrade `pip` & `setuptools` globally
|
1. Upgrade `pip` & `setuptools` globally
|
||||||
2. Install required packages from `requirements.txt` via
|
2. Install required packages from `requirements.txt` automatically
|
||||||
|
|
||||||
```bash
|
|
||||||
pip install --upgrade -r requirements.txt
|
|
||||||
```
|
|
||||||
3. Download UNRATE & DCOILWTICO into `data/fred.db` if missing (\[Stack Overflow]\[3], \[martinheinz.dev]\[4])
|
3. Download UNRATE & DCOILWTICO into `data/fred.db` if missing (\[Stack Overflow]\[3], \[martinheinz.dev]\[4])
|
||||||
4. Generate the chart with a 12‐month oil lead, extending the x‐axis by 5 years (\[martinheinz.dev]\[4], \[Real Python]\[1])
|
4. Generate the chart with a 12‐month oil lead, extending the x‐axis by 5 years (\[martinheinz.dev]\[4], \[Real Python]\[1])
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user