Skip to content

Commit 0b967a8

Browse files
committed
dev env changea
Signed-off-by: Chris Snow <[email protected]>
1 parent 46a26f2 commit 0b967a8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

DEVELOPING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ source <(hpecp autocomplete bash) # setup autocompletion
1010
hpecp configure-cli
1111
```
1212

13+
### Install from branch
14+
15+
pip install --upgrade git+https://github.com/hpe-container-platform-community/hpecp-client@branch_name
16+
1317
#### Mock Rest Service
1418

1519
- First, open a terminal, then run:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ RUN sudo apt-get update \
1010

1111
# FIXME: Python 3.9 returns errors with pip
1212
RUN echo "Installing python modules" \
13-
&& for v in 2 3 3.5 3.6 3.7 3.8; do python${v} -m pip install -U pylint pytest mock nose flake8-docstrings flake8-per-file-ignores==0.8.1; done \
13+
&& for v in 2 3 3.5 3.6 3.7 3.8; do python${v} -m pip install -U ipython pylint pytest mock nose flake8-docstrings flake8-per-file-ignores==0.8.1 isort; done \
1414
&& for v in 3 3.5 3.6 3.7 3.8; do python${v} -m pip install -U black; done \
1515
&& sudo ln -s /home/theia/.local/bin//black /bin/ \
1616
&& for v in 2 3 3.5 3.6 3.7 3.8; do python${v} -m pip install -r /tmp/requirements.txt; done
1717

1818
RUN echo 'PATH=$PATH:/home/theia/.local/bin/' >> /home/theia/.bashrc
1919

20-
ENV PYTHONPATH=/home/project:$PYTHONPATH
20+
ENV PYTHONPATH=/home/project:$PYTHONPATH

0 commit comments

Comments
 (0)