appsody / website

Appsody website and documentation. This repo will be archived soon.
https://appsody.dev
Apache License 2.0
13 stars 29 forks source link

Document Appsody "airgap" (appsody-nginx) #312

Open chilanti opened 5 years ago

chilanti commented 5 years ago

Is your feature request related to a problem? Please describe. When access to the internet (GitHub) is not guaranteed, we have a stop gap solution that allows a developer to work in isolation (at least for appsody list and appsody init) - but that solution needs to be documented.

Describe the solution you'd like Documentation on downloading the local nginx image and using it. The steps are as follows: 1) Make sure your 8008 port is available locally: netstat -na |grep 8008 (or pick another port) 1) Download the nginx image: docker pull appsody/appsody-index 1) Run it: docker run -p 8008:8080 -e EXTERNAL_URL=http://localhost:8008/ appsody/appsody-index 1) Check that someone is listening on 8008: sudo lsof -PiTCP -sTCP:LISTEN 1) Add the new repo and make it the default: appsody repo add nginx-incubator http://localhost:8008/incubator-index.yaml appsody repo set-default nginx-incubator 1) Remove repos that aren't accessible: appsody repo remove <repo name> for every repo.

1) Now run appsody list.

skoh7645 commented 5 years ago

Users won't need to do the "remove repos that aren't accessible" step, once https://github.com/appsody/appsody/pull/308 goes in