Skip to content

Commit

Permalink
adding venv and conda opt
Browse files Browse the repository at this point in the history
  • Loading branch information
JAlcocerT committed Feb 4, 2024
1 parent bf6c351 commit af26eda
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions content/docs/Linux_&_Cloud.md/selfhosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,10 @@ RUN apt-get update && apt-get install -y \
RUN git clone https://github.com/lllyasviel/Fooocus

WORKDIR /app/Fooocus
pip install -r requirements_versions.txt
RUN pip install -r requirements_versions.txt

python entry_with_update.py
#python entry_with_update.py

# RUN apt-get update && apt-get install -y \
# build-essential \
# curl \
# software-properties-common \
# git \
# && rm -rf /var/lib/apt/lists/*

# Install production dependencies.
#RUN pip install -r requirements.txt
```

{{< /tab >}}
Expand Down Expand Up @@ -95,7 +86,19 @@ volumes:
{{< /tabs >}}
You can also try with
```sh
python -m venv pilot-env (create a virtual environment)
source pilot-env/bin/activate (or on Windows pilot-env\Scripts\activate) (activate the virtual environment)
#deactivate
```

```sh
conda create -n yourcondaenvironment python=3.11
conda activate yourcondaenvironment
conda deactivate
```

### LLMs

Expand Down

0 comments on commit af26eda

Please sign in to comment.