This commit is contained in:
Zach Pomerantz 2018-03-15 11:56:53 +13:00
parent aa36b84df1
commit 6916606c6d

View File

@ -1,7 +1,7 @@
# To run: # To run:
# docker build -t redoc . # docker build -t redoc .
# docker run -it --rm -p 8080:8080 -e API_URL='http://localhost:8000/swagger.yaml' redoc # docker run -it --rm -p 8080:8080 -e API_URL='http://localhost:8000/swagger.yaml' redoc
# Ensure http://localhost:8000/swagger.yaml is served with cors. A good solutino is: # Ensure http://localhost:8000/swagger.yaml is served with cors. A good solution is:
# npm i -g http-server # npm i -g http-server
# http-server -p 8000 --cors # http-server -p 8000 --cors