mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
enable pypi again
This commit is contained in:
parent
44afdeff25
commit
fc92862017
2 changed files with 11 additions and 12 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
||||||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
python setup.py sdist bdist_wheel
|
python setup.py sdist bdist_wheel
|
||||||
#twine upload dist/*
|
twine upload dist/*
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
|
|
@ -3,23 +3,22 @@
|
||||||
|
|
||||||
You can run aider via docker without doing any local installation, like this:
|
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:
|
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
|
||||||
docker run -it --volume `pwd`:/app paulgauthier/aider --openai-api-key $OPENAI_API_KEY
|
see the repo and all its files.
|
||||||
```
|
|
||||||
|
|
||||||
You should run the above commands from the root of your git repo.
|
|
||||||
|
|
||||||
You should be sure your that
|
You should be sure your that
|
||||||
git repo config contains your user name and email, since the
|
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"
|
git config user.email "you@example.com"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue