You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
This PR reverts commit 89c0358 which restructured the documentation by
splitting the overview page into three separate pages.
## Changes
- Restores the original single overview page structure
- Moves the webserver guide back from guides to concepts section
- Renumbers concept pages back to their original order
- Removes the separate introduction and installation pages
## Reason for revert
[Add reason here]
🤖 Generated with [Claude Code](https://claude.com/claude-code)
This will create a new folder called `my-first-actor`, download and extract the "Getting started with Python" Actor template there, create a virtual environment in `my-first-actor/.venv`, and install the Actor dependencies in it.
To run the Actor, you can use the [`apify run` command](/cli/docs/reference#apify-run):
34
63
@@ -45,7 +74,7 @@ This command:
45
74
46
75
The Actor input, for example, will be in `storage/key_value_stores/default/INPUT.json`.
47
76
48
-
## Step 3: Understanding Actor structure
77
+
## Actor structure
49
78
50
79
All Python Actor templates follow the same structure.
51
80
@@ -93,6 +122,31 @@ asyncio.run(main())`
93
122
If you want to modify the Actor structure, you need to make sure that your Actor is executable as a module, via `python -m src`, as that is the command started by `apify run` in the Apify CLI.
94
123
We recommend keeping the entrypoint for the Actor in the `src/__main__.py` file.
95
124
125
+
## Adding dependencies
126
+
127
+
First, add the dependencies in the [`requirements.txt`](https://pip.pypa.io/en/stable/reference/requirements-file-format/) file in the Actor source folder.
0 commit comments