Commit dcbf666e authored by Duo Chen's avatar Duo Chen
Browse files

Merge branch 'slb/dchen/update-pat-version' into 'master'

docs: Update token and package version

See merge request !246
parents a1823b83 200e8cc9
Pipeline #74441 passed with stages
in 6 minutes and 1 second
......@@ -45,14 +45,14 @@ This project will provide restful APIs to access SEGY file headers.
2. `python main.py`
3. Open `http://localhost:8000/seismic-file-metadata/api/v1/docs` in web browser
3. Open `http://localhost:8000/seismic-file-metadata/api/v1/swagger-ui.html` in web browser
- Enter bearer token and appkey for authorization
- Enter sdpath i.e. `sd://slb/sandbox/l10f1.sgy`
# Docker image
1. Build the docker image. `docker build -t segyimage . `
2. Run the docker image. `docker run -d -it --rm --name segycontainer -p 8080:8000 segyimage`
3. Launch the web site. `http://localhost:8000/seismic-file-metadata/api/v1/docs`
3. Launch the web site. `http://localhost:8000/seismic-file-metadata/api/v1/swagger-ui.html`
4. Note: the personal access token in pip.conf only lasts for 90 days. It started on 7/26/2021.
......
......@@ -3,7 +3,7 @@ fastapi==0.66.1
uvicorn==0.14.0
#for segy library
segysdk-python==0.0.3918116
segysdk-python==0.0.4028456
#for static files
aiofiles==0.5.0
......
[global]
extra-index-url=https://SegyLibraryFeed%40Local:k6sozo4kuqoe3xn7x4dnpxlbletaimwnbldavnxtbazuq4vxqilq@pkgs.dev.azure.com/slb1-swt/_packaging/SegyLibraryFeed%40Local/pypi/simple/
\ No newline at end of file
extra-index-url=https://SegyLibraryFeed%40Local:hmggycfhfztxveoeyex2e6uu2b6a5fdwsxptzyes6h5lhokhtraa@pkgs.dev.azure.com/slb1-swt/_packaging/SegyLibraryFeed%40Local/pypi/simple/
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment