Skip to content
Snippets Groups Projects
Commit 5349df36 authored by Alok Saldanha's avatar Alok Saldanha
Browse files

prepared for 0.2.1 release

updated docs
made GATEWAY_IP optional
parent 13802b72
Branches
Tags
No related merge requests found
# 0.2.1
* Minor fixes to enable cellxgene 0.16.0
* Added CELLXGENE_ARGS to enable passing additional arguments to cellxgene
* added metadata/ip_address endpoint
# 0.2.0 # 0.2.0
Incrementing minor version since the changes for 0.15 are breaking, and we may want to release bugfixes from 0.1.0 branch. Incrementing minor version since the changes for 0.15 are breaking, and we may want to release bugfixes from 0.1.0 branch.
......
...@@ -30,7 +30,7 @@ Note: you may need to downgrade h5py with `pip install h5py==2.9.0` due to an [i ...@@ -30,7 +30,7 @@ Note: you may need to downgrade h5py with `pip install h5py==2.9.0` due to an [i
### Option 2: Install from PyPI ### Option 2: Install from PyPI
```bash ```bash
# NOT YET DONE, COMING! STAY TUNED pip install cellxgene-gateway
``` ```
## Running cellxgene gateway ## Running cellxgene gateway
......
...@@ -7,4 +7,4 @@ ...@@ -7,4 +7,4 @@
# OR CONDITIONS OF ANY KIND, either express or implied. See the License for # OR CONDITIONS OF ANY KIND, either express or implied. See the License for
# the specific language governing permissions and limitations under the License. # the specific language governing permissions and limitations under the License.
__version__ = "0.2.0" __version__ = "0.2.1"
...@@ -22,7 +22,7 @@ external_host = os.environ.get( ...@@ -22,7 +22,7 @@ external_host = os.environ.get(
external_protocol = os.environ.get( external_protocol = os.environ.get(
"EXTERNAL_PROTOCOL", os.environ.get("GATEWAY_PROTOCOL", "http") "EXTERNAL_PROTOCOL", os.environ.get("GATEWAY_PROTOCOL", "http")
) )
ip = os.environ.get("GATEWAY_IP") ip = os.environ.get("GATEWAY_IP", "127.0.0.1")
extra_scripts = os.environ.get("GATEWAY_EXTRA_SCRIPTS") extra_scripts = os.environ.get("GATEWAY_EXTRA_SCRIPTS")
ttl = os.environ.get("GATEWAY_TTL") ttl = os.environ.get("GATEWAY_TTL")
enable_upload = os.environ.get("GATEWAY_ENABLE_UPLOAD", "").lower() in [ enable_upload = os.environ.get("GATEWAY_ENABLE_UPLOAD", "").lower() in [
...@@ -39,12 +39,12 @@ enable_backed_mode = os.environ.get( ...@@ -39,12 +39,12 @@ enable_backed_mode = os.environ.get(
env_vars = { env_vars = {
"CELLXGENE_LOCATION": cellxgene_location, "CELLXGENE_LOCATION": cellxgene_location,
"CELLXGENE_DATA": cellxgene_data, "CELLXGENE_DATA": cellxgene_data,
"GATEWAY_IP": ip,
} }
optional_env_vars = { optional_env_vars = {
"EXTERNAL_HOST": external_host, "EXTERNAL_HOST": external_host,
"EXTERNAL_PROTOCOL": external_protocol, "EXTERNAL_PROTOCOL": external_protocol,
"GATEWAY_IP": ip,
"GATEWAY_PORT": gateway_port, "GATEWAY_PORT": gateway_port,
"GATEWAY_EXTRA_SCRIPTS": extra_scripts, "GATEWAY_EXTRA_SCRIPTS": extra_scripts,
"GATEWAY_TTL": ttl, "GATEWAY_TTL": ttl,
...@@ -69,7 +69,6 @@ def validate(): ...@@ -69,7 +69,6 @@ def validate():
export CELLXGENE_LOCATION=~/anaconda/envs/cellxgene-dev/bin/cellxgene export CELLXGENE_LOCATION=~/anaconda/envs/cellxgene-dev/bin/cellxgene
export CELLXGENE_DATA=../cellxgene_data export CELLXGENE_DATA=../cellxgene_data
export GATEWAY_IP=127.0.0.1
""" """
) )
else: else:
......
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