Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Commit c9d5aec

Browse files
committed
update readme
1 parent cf98e0e commit c9d5aec

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

README.md

+18-15
Original file line numberDiff line numberDiff line change
@@ -54,36 +54,39 @@ To deploy the service:
5454

5555
kubectl create -f devpi-app.yaml
5656

57-
To get the external ip address (listed under `LoadBalancer Ingress`):
57+
To check the logs:
5858

59-
kubectl describe -f devpi-app.yaml
59+
kubectl get pods # to get the pod name e.g. "devpi-2096512311-3s8j2"
60+
kubectl logs -f <pod_name>
6061

61-
To update the service:
62+
To get the external ip address:
6263

63-
kubectl apply -f devpi-app.yaml
64-
65-
To delete the service:
66-
67-
kubectl delete -f devpi-app.yaml
64+
kubectl get services devpi
6865

6966
### Testing the index
7067

71-
pip install -i http://testuser:testpassword@192.168.99.99/myuser/dev/+simple/ --trusted-host 192.168.99.99 Flask
68+
pip install -i http://testuser:testpassword@<external_ip>/testuser/dev/+simple/ --trusted-host <external_ip> Flask
7269

73-
To configure pip to permanently to use the new index create a `~/.pip/pip.conf` file with the following content:
70+
To permanently use the new index create a `~/.pip/pip.conf` file with the following content:
7471

7572
[global]
76-
index-url = http://testuser:testpassword@192.168.99.99/myuser/pypi/+simple/
77-
trusted-host = 192.168.99.99
73+
index-url = http://testuser:testpassword@<external_ip>/testuser/dev/+simple/
74+
trusted-host = <external_ip>
7875

7976
## Example: Building and uploading a Wheel for Pandas
8077

8178
The following example shows how to build a wheel for [Pandas](http://pandas.pydata.org/) and upload it to the index. Make sure you have the [devpi-client](https://pypi.python.org/pypi/devpi-client) installed.
8279

80+
pip install cython # Cython is required to build Pandas
81+
8382
git clone https://github.com/pydata/pandas.git
8483
cd pandas
85-
git checkout v0.16.2
84+
git checkout v0.16.2
8685

87-
devpi use http://testuser:testpassword@192.168.99.99/myuser/dev
88-
devpi login myuser --password=testpassword
86+
devpi use http://testuser:testpassword@<external_ip>/testuser/dev
87+
devpi login testuser --password=testpassword
8988
devpi upload --formats bdist_wheel
89+
90+
Finally, test the installation by running:
91+
92+
pip install --no-cache --verbose Pandas==0.16.2

0 commit comments

Comments
 (0)