-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install doc #586
Install doc #586
Conversation
Env Var used in the compose.yml is INPUT_DIR and OUTPUT_DIR Clarify the meaning of both variables and output message. Note on -p not working.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable in the Compose file should actually be changed to be ..._PATH rather than ..._DIR, since you have to specify a full path for the bind mounts.
README.md
Outdated
docker-compose run manim example_scenes.py SquareToCircle -l | ||
``` | ||
The command needs to be run as root if your username is not in the docker group. | ||
|
||
example_scenes.py or your own project should point to the file on the host machine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what you mean by "pointing" to a file here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe should be path to files
?
I wrote those documentations base on the assumption that the code is always correct and that the doc should reflect whatever is written. |
Change all refernces of INPUT_DIR to INPUT_PATH change all references of OUTPUT_DIR to OUTPUT_PATH change a paragraph
I added a diagram for the docker setup, should be more clear |
README.md
Outdated
environment variable to the directory containing your source code and the | ||
`OUTPUT_DIRECTORY` environment variable to the directory where you want media | ||
to be written. | ||
environment variable to the directory containing manim repository and the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manim is now stored inside the docker image, so INPUT_PATH
should be the absolute path to the directory containing the source code.
README.md
Outdated
docker-compose run manim example_scenes.py SquareToCircle -l | ||
``` | ||
The command needs to be run as root if your username is not in the docker group. | ||
|
||
replace `example_scenes.py` with your own on the host machine for your projects. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"You can replace example_scenes.py
with any relative path from your INPUT_PATH
"
Did the pr slip through the notification? |
* Clean up README * update flags * Apply suggestions from code review * updated command.png * removed redundant files from readme-asserts and used files from docs/_static instead * change to relative parts Co-authored-by: Leo Torres <[email protected]> Co-authored-by: kolibril13 <[email protected]>
Env Var used in the compose.yml is INPUT_DIR and OUTPUT_DIR
Clarify the meaning of both variables and output message.
Note on -p not working.