Skip to content
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

Merged
merged 6 commits into from
Jun 19, 2019
Merged

Install doc #586

merged 6 commits into from
Jun 19, 2019

Conversation

Kolloom
Copy link
Contributor

@Kolloom Kolloom commented Jun 11, 2019

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.

Kolloom added 2 commits June 11, 2019 00:49
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.
Copy link
Collaborator

@eulertour eulertour left a 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.
Copy link
Collaborator

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.

Copy link
Contributor Author

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?

@Kolloom
Copy link
Contributor Author

Kolloom commented Jun 14, 2019

I wrote those documentations base on the assumption that the code is always correct and that the doc should reflect whatever is written.

Kolloom added 3 commits June 15, 2019 00:43
Change all refernces of INPUT_DIR to INPUT_PATH
change all references of OUTPUT_DIR to OUTPUT_PATH

change a paragraph
@Kolloom
Copy link
Contributor Author

Kolloom commented Jun 15, 2019

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
Copy link
Collaborator

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.
Copy link
Collaborator

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"

@Kolloom
Copy link
Contributor Author

Kolloom commented Jun 19, 2019

Did the pr slip through the notification?

@eulertour eulertour merged commit 43b643d into 3b1b:master Jun 19, 2019
eulertour pushed a commit to eulertour/manim-3b1b that referenced this pull request Nov 16, 2020
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants