Skip to content

Commit

Permalink
updating code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago Olivar committed Feb 16, 2024
1 parent 9e90eb7 commit 5d8f157
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions _posts/2024-02-12-Simple-Dockerfile-for-Dev-Purposes.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ RUN apt-get update && \
apt-get install -y git vim && \
rm -rf /var/lib/apt/lists/*
# Create and activate a Conda environment
RUN conda create --name myenv python=3.11 && \
echo "conda activate myenv" >> ~/.bashrc
# Installs with Conda
RUN conda install numpy
# Install numpy in the Conda environment
RUN conda install -n myenv numpy
# Installs with pip
RUN pip install llama-index
# SSH for GitHub authentication
# keyscan is used to avoid manually veryfying GitHub hosts
Expand Down
2 changes: 1 addition & 1 deletion _posts/2024-02-13-Repo-as-Importable-Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ setup(
'Topic :: Software Development :: Libraries :: Python Modules',
'Operating System :: OS Independent',
],
package_dir={'': 'bubls'}
package_dir={'': 'bubls'} # Need it this way as we are installing it in editable mode
)
```

0 comments on commit 5d8f157

Please sign in to comment.