mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
enable pypi again
This commit is contained in:
parent
44afdeff25
commit
fc92862017
2 changed files with 11 additions and 12 deletions
|
@ -3,23 +3,22 @@
|
|||
|
||||
You can run aider via docker without doing any local installation, like this:
|
||||
|
||||
|
||||
```
|
||||
docker run -it --volume `pwd`:/app paulgauthier/aider
|
||||
docker pull paulgauthier/aider
|
||||
docker run -it --volume `pwd`:/app paulgauthier/aider --openai-api-key $OPENAI_API_KEY <...add other aider args...>
|
||||
```
|
||||
|
||||
You will also need to pass in your `OPENAI_API_KEY`, which can be done with the `--openai-api-key` argument:
|
||||
|
||||
|
||||
```
|
||||
docker run -it --volume `pwd`:/app paulgauthier/aider --openai-api-key $OPENAI_API_KEY
|
||||
```
|
||||
|
||||
You should run the above commands from the root of your git repo.
|
||||
You should run the above commands from the root of your git repo,
|
||||
since the `--volume `pwd`:/app` maps the current directory into the
|
||||
docker container.
|
||||
You need to be in the root of your git repo for aider to be able to
|
||||
see the repo and all its files.
|
||||
|
||||
You should be sure your that
|
||||
git repo config contains your user name and email, since the
|
||||
docker container won't have your global git config:
|
||||
docker container won't have your global git config.
|
||||
Run these commands while in your git repo, before
|
||||
you do the `docker run` command:
|
||||
|
||||
```
|
||||
git config user.email "you@example.com"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue